diff --git a/parsons/mail.nix b/parsons/mail.nix index 7f4af6e..7d25d7b 100644 --- a/parsons/mail.nix +++ b/parsons/mail.nix @@ -195,7 +195,8 @@ bindIP = "[::1]"; }; - systemd.services.alps.after = [ "dovecot2.service" ]; + systemd.services.alps.after = [ "dovecot2.service" "postfix.service" ]; + systemd.services.alps.bindsTo = [ "dovecot2.service" "postfix.service" ]; services.nginx.virtualHosts."mail.hacc.space" = { enableACME = true;