forked from hacc/haccfiles
services/mail: stop postfix from dying by rspamd
This commit is contained in:
parent
4bf804c025
commit
2d429492fe
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue