nixpkgs/nixos/modules/services/mail
Philipp Kern 1db74d1150 nixos/spamassassin: Fix network requirement on boot
sa-update currently runs as part of the pre-start script of spamd. The
network is not guaranteed to be online at that point and even if we
were to depend on that, it makes the bootup brittle, as there is a
reliance on SpamAssassin's update server as a startup dependency on
boot.

Refactor the setup to move the pre-start script into its own unit.
This allows to perform the setup task only once. Continuous updates
are already done by sa-update.service triggered by sa-update.timer.
Only run sa-update in case /var/lib/spamassassin is empty.

While we are on it, let sa-update.service depend on the network being
online.
2021-02-11 10:09:45 +01:00
..
clamsmtp.nix clamsmtp module: add self as maintainer 2018-10-31 01:05:49 +09:00
davmail.nix nixos/modules: Replace all nested types.either's with types.oneOf's 2019-08-08 23:35:52 +02:00
dkimproxy-out.nix dkimproxy-out module: add self as maintainer 2018-10-31 01:06:04 +09:00
dovecot.nix nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
dspam.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
exim.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
mail.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mailcatcher.nix nixos/mailcatcher: add http.path option 2019-11-12 10:11:24 -05:00
mailhog.nix nixos/mailhog: run with DynamicUser 2020-09-07 17:56:53 +08:00
mailman.nix nixos/mailman: remove spurious uwsgi.service dep 2021-01-06 10:44:29 +00:00
mailman.xml nixos/mailman: make Postfix support optional (provided you configure the MTA yourself) 2020-12-14 02:41:30 +03:00
mlmmj.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
nullmailer.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
offlineimap.nix cleanup redundant text in modules utilizing mkEnableOption 2019-04-20 14:44:02 +02:00
opendkim.nix nixos/opendkim: add keyPath to ReadWritePaths 2020-09-03 17:54:16 +02:00
opensmtpd.nix nixos/opensmtpd: add a setgid wrapper for smtpctl (#89962) 2020-06-10 15:08:36 +02:00
pfix-srsd.nix nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
postfix.nix nixos/postfix: deprecate services.postfix.useDane 2021-01-14 10:24:31 +00:00
postgrey.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
postsrsd.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
roundcube.nix roundcube service: Restart on config changes. 2020-11-08 22:20:18 +01:00
rspamd.nix Merge pull request #93293 from tnias/nixos_rspamd_20200716 2020-12-01 13:10:43 +00:00
rss2email.nix nixos/rss2email: globally install rss2email 2020-04-18 14:16:00 +00:00
spamassassin.nix nixos/spamassassin: Fix network requirement on boot 2021-02-11 10:09:45 +01:00
sympa.nix nixos/sympa: fix PATH_INFO splitting for sympa-6.2.56 2020-06-10 17:44:37 +02:00