mastus: mail: use same SSL key file for postfix and dovecot as they both run as root.
This commit is contained in:
parent
544612ecc9
commit
adb44caf1d
@ -21,7 +21,7 @@
|
||||
'';
|
||||
sslCACert = "/etc/sslcerts/startssl.cert";
|
||||
sslCert = "/etc/sslcerts/mail.cert";
|
||||
sslKey = "/etc/sslcerts/mail-postfix.key";
|
||||
sslKey = "/etc/sslcerts/mail.key";
|
||||
|
||||
extraConfig = ''
|
||||
mailbox_command = ${pkgs.procmail}/bin/procmail
|
||||
@ -34,7 +34,7 @@
|
||||
mailLocation = "maildir:~/mail";
|
||||
sslCACert = "/etc/sslcerts/startssl.cert";
|
||||
sslServerCert = "/etc/sslcerts/mail.cert";
|
||||
sslServerKey = "/etc/sslcerts/mail-dovecot.key";
|
||||
sslServerKey = "/etc/sslcerts/mail.key";
|
||||
};
|
||||
|
||||
services.spamassassin.enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user