Alyssa Ross
e1996d7bda
nixos/public-inbox: bind key and cert paths
...
Otherwise, these can't be accessed by the service.
2025-01-21 13:51:11 +01:00
piegames
603733851b
treewide: Fix incorrect string escapes
2025-01-07 19:49:28 +01:00
Artturin
8cf119c7a1
nixos/stalwart-mail: Fix creation of dataDir if not default
...
Without these I got
`mkdir: cannot create directory ‘/data/stalwart’: Read-only file system`
2024-12-27 05:02:32 +02:00
Artturin
b19b16be96
nixos/stalwart-mail: Add dataDir option
...
I want to move it elsewhere.
2024-12-26 18:26:25 +02:00
Léo Gaspard
69a8aba113
nixos/opensmtpd: run nixfmt as requested by ci
2024-12-26 12:38:59 +01:00
Léo Gaspard
fb4ff06a4b
fix opensmtpd's sendmail, add relevant test
2024-12-26 12:38:59 +01:00
Lorenz Leutgeb
578baae41d
nixos/mailman: Remove unused extraPythonPackages
2024-12-22 16:22:32 +01:00
euxane
1dabc1f584
maintainers: rename pacien -> euxane, update details
2024-12-21 21:20:22 +01:00
lassulus
197794787c
nixos/mailhog: add setSendmail option ( #339283 )
2024-12-17 21:37:08 +01:00
Sandro Jäckel
d1a28bbdb4
nixos/nginx: add locations."name".uwsgiPass and related options and use it
2024-12-11 01:07:02 +01:00
Silvan Mosberger
4f0dadbf38
treewide: format all inactive Nix files
...
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19 .tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Yureka
4d8e8de0d9
nixos/mailman: increase uwsgi buffer size
...
otherwise results in 502 bad gateway errors with some clients (which send a lot of cookies?)
Change-Id: I9aadedb7acde0388f060dbb82ccd8788f41ff0e6
2024-12-08 10:36:18 +01:00
Arne Keller
91f2c5f2a2
nixos/postfix: add missing mkDefault for smtpd tls config ( #343805 )
2024-12-06 11:17:40 +01:00
Sandro
1d62a85ff5
nixos/mailman: add option to expand the uwsgi settings ( #333315 )
2024-11-29 00:53:55 +01:00
Sandro
1af52db201
nixos/mailman: wrap mailman cli to start as mailman user ( #332847 )
2024-11-27 23:07:31 +01:00
Sandro Jäckel
61d15c60fc
nixos/mailman: add option to expand the uwsgi settings
2024-11-27 23:02:47 +01:00
Sandro
8bc2cc19bb
nixos/opendkim: modernize, add expandable settings option, put config file under standard location ( #333758 )
2024-11-19 22:29:49 +01:00
Silvan Mosberger
555f0e9f1e
formats.ini: expose INI atom from all ini formats ( #354800 )
2024-11-18 16:11:51 +01:00
Johannes Kirschbauer
6b53949b0c
formats.ini: expose INI atom from all ini formats
2024-11-18 16:07:22 +01:00
Sandro Jäckel
f497159195
nixos/opendkim: put config file under standard location
2024-11-17 22:27:10 +01:00
Sandro Jäckel
1414b222f5
nixos/opendkim: add expandable settings option
2024-11-17 22:27:09 +01:00
Sandro Jäckel
dfac70cb1d
nixos/opendkim: modernize
2024-11-17 22:27:09 +01:00
Pol Dellaiera
e92d5eb308
nixos/protonmail-bridge: fix typo ( #355520 )
2024-11-13 07:56:04 +01:00
ginkogruen
aa79218b2c
nixos/protonmail-bridge: fix typo
...
protonmail-bride's --> protonmail-bridge's
2024-11-12 21:55:34 +01:00
h7x4
97ca8ccb15
nixos/roundcube: add example for database.passwordFile ( #348166 )
2024-11-11 08:27:50 +01:00
RTUnreal
5e83e20cb7
nixos/mailhog: add setSendmail option for sendmail setuid wrapper.
...
This might be used in dev environments, where `sendmail` is the prefered
mail transport.
2024-10-29 19:17:41 +01:00
Moraxyc
8d90446d39
nixos/cyrus-imap: init module
...
Co-authored-by: jtbx <jeremy@baxters.nz>
Co-authored-by: pluiedev <hi@pluie.me>
2024-10-20 00:13:24 +08:00
Sandro Jäckel
1b510687b4
nixos/mailman: wrap mailman cli to start as mailman user
...
This is essential when postgres socket authentication is used.
2024-10-18 01:50:24 +02:00
h7x4
7467f7d59f
nixos/roundcube: add example for database.passwordFile
2024-10-13 00:45:32 +02:00
oddlama
ae5481883d
nixos/stalwart-mail: fix issue where webadmin interface disappears after some time
2024-10-11 02:30:58 +02:00
Sandro
6ac83e9406
nixos/mailman: configure web frontend with postfix when enablePostfix… ( #333295 )
2024-09-25 18:33:50 +02:00
Rouven Seifert
2a8f335355
nixos/postfix: add missing mkDefault for smtpd tls config
2024-09-22 23:09:55 +02:00
Felix Buehler
a19107dd8a
nixos/services.rss2email: remove with lib;
2024-09-15 10:43:49 +02:00
Felix Buehler
4b4b2cca1b
nixos/services.rspamd-trainer: remove with lib;
2024-09-15 10:43:49 +02:00
Jonas Heinrich
880bd89c4d
nixos/stalwart-mail: package and configure webadmin
2024-09-05 08:33:58 +02:00
Felix Buehler
5b2cfbc969
nixos/services.zeyple: remove with lib;
2024-08-30 22:59:28 +02:00
Felix Buehler
6d0e431080
nixos/services.stalwart-mail: remove with lib;
2024-08-30 22:59:28 +02:00
Felix Buehler
3d0cdfa3c5
nixos/services.spamassassin: remove with lib;
2024-08-30 22:59:28 +02:00
Felix Buehler
bd62173106
nixos/services.roundcube: remove with lib;
2024-08-30 22:59:28 +02:00
Felix Buehler
47626f0fc8
nixos/services.postsrsd: remove with lib;
2024-08-30 22:59:28 +02:00
Felix Buehler
dae6c6c58a
nixos/services.postfixadmin: remove with lib;
2024-08-30 22:59:27 +02:00
Felix Buehler
8491fdcc31
nixos/services.pfix-srsd: remove with lib;
2024-08-30 22:59:27 +02:00
Felix Buehler
1fbae04bff
nixos/services.opensmtpd: remove with lib;
2024-08-30 22:59:27 +02:00
Felix Buehler
eb261c5c91
nixos/services.opendkim: remove with lib;
2024-08-30 22:59:27 +02:00
Felix Buehler
02299617cd
nixos/services.offlineimap: remove with lib;
2024-08-30 22:59:27 +02:00
Felix Buehler
e75cd5f98a
nixos/services.nullmailer: remove with lib;
2024-08-30 22:59:26 +02:00
Felix Buehler
2f79bd3b5c
nixos/services.mlmmj: remove with lib;
2024-08-30 22:59:26 +02:00
Felix Buehler
0d8ce0d47c
nixos/services.mailhog: remove with lib;
2024-08-30 22:59:26 +02:00
Felix Buehler
b75b87803a
nixos/services.mail: remove with lib;
2024-08-30 22:59:26 +02:00
Felix Buehler
aa0f147937
nixos/services.maddy: remove with lib;
2024-08-30 22:59:26 +02:00
Felix Buehler
3c36a6c44e
nixos/services.listmonk: remove with lib;
2024-08-30 22:59:25 +02:00
Felix Buehler
fb9694eb65
nixos/services.goeland: remove with lib;
2024-08-30 22:59:25 +02:00
Felix Buehler
c5f149982e
nixos/services.dspam: remove with lib;
2024-08-30 22:59:25 +02:00
Felix Buehler
15d06237b7
nixos/services.dkimproxy-out: remove with lib;
2024-08-30 22:59:25 +02:00
Felix Buehler
aa62d49bd7
nixos/services.davmail: remove with lib;
2024-08-30 22:59:25 +02:00
Felix Buehler
68dee151ef
nixos/services.clamsmtp: remove with lib;
2024-08-30 22:59:24 +02:00
Sandro
48a0aa7f87
nixos/automx2: init ( #333320 )
2024-08-29 16:08:22 +02:00
Philip Taron
c555de0288
nixos/services.mailman: remove with lib; ( #337092 )
2024-08-28 21:29:16 -07:00
Philip Taron
03f36dc3c8
nixos/services.postfix: remove with lib; ( #337767 )
2024-08-28 15:03:44 -07:00
Felix Buehler
e2ff604f85
nixos/services.postfix: remove with lib;
2024-08-27 20:57:37 +02:00
Felix Buehler
fa20162c79
nixos/services.sympa: remove with lib;
2024-08-27 19:59:19 +02:00
Felix Buehler
0c91ea6ec1
nixos/services.mailman: remove with lib;
2024-08-24 23:20:06 +02:00
Maximilian Bosch
f07601ce07
nixos/mailpit: fix defaults for listen/smtp
2024-08-14 16:12:57 +02:00
Maximilian Bosch
15dab820a6
nixos/mailpit: allow multiple instances
...
Now it's possible to start multiple mailpit instances - for e.g.
multiple testing environments - on the same machine:
{
services.mailpit.instances = {
dev = { /* ... */ };
staging = { /* ... */ };
};
}
The simplest way to start a single instance is by declaring
services.mailpit.instances.default = {};
2024-08-14 11:33:52 +02:00
Maximilian Bosch
a2437d8075
nixos/mailpit: init
...
Simple module to configure a systemd service for mailpit.
2024-08-14 11:33:52 +02:00
Pol Dellaiera
a0a63aa8d4
Merge pull request #332593 from mzacho/master
...
nixos/modules/services/mail: add protonmail-bridge service
2024-08-13 21:08:24 +02:00
Sandro
e32c796ff7
Merge pull request #332541 from SuperSandro2000/mailman-relay-assert
...
nixos/mailman: allow setting relay domains with services.postfix.conf…
2024-08-12 14:37:53 +02:00
Martin Zacho
45b7c17ba5
maintainers: add mzacho
2024-08-11 12:09:16 +02:00
Martin Zacho
91e1c5349e
nixos/modules/services/mail: add protonmail-bridge
2024-08-11 12:09:09 +02:00
Sandro Jäckel
a68c330cd8
nixos/automx2: init
2024-08-09 16:42:34 +02:00
Sandro Jäckel
8bffd5f04b
nixos/mailman: configure web frontend with postfix when enablePostfix is turned on
2024-08-08 20:14:51 +02:00
Sandro Jäckel
2862350f61
nixos/postfix: allow int in config
...
eg. unknown_local_recipient_reject_code can be set to 550 which toString
can stringify
2024-08-05 21:18:40 +02:00
Sandro Jäckel
0bf368c8ac
nixos/mailman: allow setting relay domains with services.postfix.config.relay_domains
2024-08-05 21:15:28 +02:00
Guanran Wang
ea6f4d5e86
treewide: remove periods from lib.mkEnableOption
...
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2024-08-02 23:55:32 +08:00
Peder Bergebakken Sundt
b2a54feb35
Merge pull request #279408 from alyssais/mailman-nginx-timeout
...
nixos/mailman: increase nginx proxy timeout
2024-07-19 17:56:07 +02:00
NotAShelf
48d1d14633
nixos/roundcube: adjust maxAttachmentSize, clarify documentation
2024-07-04 20:07:19 +03:00
Jonas Heinrich
f45e645e92
nixos/stalwart-mail: add openFirewall option
2024-07-01 14:10:11 +02:00
Yt
6d455fee01
Merge pull request #321828 from Shawn8901/stalwart-spamfilter
...
stalwart-mail: include pre-defined spam-filter
2024-06-24 00:08:49 +00:00
Shawn8901
ac961ac498
nixos/stalwart-mail: set pre-defined spam-filter rules
2024-06-23 21:01:14 +02:00
euxane
8daa31600a
nixos/stalwart-mail: remove deprecated {queue,report}.path settings
...
Since stalwart-mail 0.6.0, queue and report files are located in
the shared `storage.{data,blob}` stores. The `{queue,report}.path`
settings no longer had any effect since then.
I'm also removing the creation of the associated extra directories
in the `preStart` script. This should not cause any issue with old
setups since 0.6.0 was already packaged when 24.05 was released.
2024-06-23 11:47:12 +02:00
Linus Heckemann
e5adf0b547
maintainers: drop lheckemann
2024-06-21 15:54:54 +02:00
h7x4
f5263306d8
Merge pull request #304340 from Stunkymonkey/postsrsd-chmod-install
...
nixos/postsrsd: prefer 'install' over 'chmod/chown'
2024-06-18 10:32:49 +02:00
Nguyễn Gia Phong
14c57ce7f7
nixos/public-inbox: make coderepo paths accessible
...
Fix typo in 03216e705c .
2024-06-11 19:32:59 +10:00
Jonas Heinrich
336232debd
stalwart-mail: package upstream systemd unit
2024-05-31 10:22:15 +02:00
Jonas Heinrich
dfa130e828
nixos/stalwart-mail: use upstream systemd unit
2024-05-31 10:20:47 +02:00
Yt
0509bb8779
Merge pull request #315908 from pacien/nixos-stalwart-default-rocksdb
...
nixos/stalwart-mail: rocksdb as default storage
2024-05-30 21:31:59 +00:00
Yt
782f9a832e
Merge pull request #315697 from pacien/nixos-stalwart-no-dynamicuser
...
nixos/stalwart-mail: do not use DynamicUser
2024-05-30 21:27:34 +00:00
euxane
0174aa1c56
nixos/stalwart-mail: rocksdb as default storage
...
This sets RocksDB as the default storage backend for `stateVersion` >=
24.11. For previous `stateVersion`s, the structured data and blobs
remain on SQLite and the filesystem respectively.
This is closer to the suggested upstream configuration for fully local
storage.
2024-05-30 16:22:03 +02:00
Jonas Heinrich
0ef99565a9
Merge pull request #315745 from pacien/nixos-stalwart-default-directory-db
...
nixos/stalwart-mail: add default account directory
2024-05-30 09:37:30 +02:00
euxane
ddcbe4c369
nixos/stalwart-mail: add default account directory
...
This configures a default account directory for the Stalwart service.
It uses the default common database which was already configured.
Without this directory, admins could not manage users and groups using
the `stalwart-cli` tools.
2024-05-30 02:07:17 +02:00
euxane
6ee84bcda0
nixos/stalwart-mail: do not use DynamicUser
...
This service stores a large number of files for its blob store and some
of its databases. This is not compatible with `DynamicUser`, which
`chown`s everything in the state directory every time the service is
started. Therefore, we now use a static system user and group instead.
See https://github.com/NixOS/nixpkgs/pull/313634#discussion_r1609960417
2024-05-30 00:40:12 +02:00
euxane
824949f300
nixos/stalwart-mail: migrate logging config
...
The logging configuration keys have changed,
which caused this config to be ignored.
2024-05-29 22:17:59 +02:00
Jonas Heinrich
50388b71cc
nixos/stalwart-mail: add onny as maintainer
2024-05-24 12:26:13 +02:00
Jonas Heinrich
3d6a20f380
nixos/stalwart-mail: drop legacy package
2024-05-24 12:15:50 +02:00
Jonas Heinrich
2c4128ea01
nixos/stalwart-mail: use publicsuffix-list package
...
Co-authored-by: shawn8901 <shawn8901@googlemail.com>
2024-05-21 21:09:38 +02:00
Jonas Heinrich
1f4329cde6
nixos/stalwart-mail: pin module to package version 0.6
2024-05-19 14:17:31 +02:00
euxane
f4c5060ecc
nixos/stalwart-mail: set default lookup storage
...
This configuration key is now required.
The shared default DB is a good default.
2024-05-15 00:42:08 +02:00
Felix Buehler
a181e098c9
nixos/mailman: prefer 'install' over 'chmod/chown'
2024-04-30 22:51:40 +02:00
Maximilian Bosch
e59f7ab9ef
Merge pull request #278152 from ckiee/roundcube-fix-postgresql-package-ref
...
nixos/roundcube: eliminate extra postgres package for local databases
2024-04-24 21:33:54 +00:00
ckie
bdde259862
nixos/roundcube: eliminate extra postgres package for local databases
2024-04-24 22:45:37 +03:00