services/mail: stop postfix from dying by rspamd

This commit is contained in:
schweby 2022-01-31 21:43:25 +01:00
parent 4bf804c025
commit 2d429492fe
Signed by untrusted user who does not match committer: moira
GPG key ID: AF92FDD91CB44B2F

View file

@ -5,6 +5,11 @@
sources.nixos-mailserver.outPath sources.nixos-mailserver.outPath
]; ];
# stop postfix from dying if rspamd hiccups
systemd.services.postfix.unitConfig = {
Requires = lib.mkForce "dovecot2.service opendkim.service";
};
mailserver = { mailserver = {
mailDirectory = "/persist/mail"; mailDirectory = "/persist/mail";
enable = true; enable = true;