Merge branch 'fix/postfix_dying' into 'main'

services/mail: stop postfix from dying by rspamd

See merge request hacc/infra/haccfiles!88
keep-around/6da6be64803d1edfed82e9ec127420cc2da16ea6
schweby 2022-01-31 20:49:22 +00:00
commit 6da6be6480
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;