services/mail: stop postfix from dying by rspamd

fix/postfix_dying
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
1 changed files with 5 additions and 0 deletions

View File

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