From adb44caf1d95e2a424cd561674965b093488af5b Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 18 Oct 2015 14:43:41 +0200 Subject: [PATCH] mastus: mail: use same SSL key file for postfix and dovecot as they both run as root. --- mastus/mail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mastus/mail.nix b/mastus/mail.nix index 010ca0d..ef1c8a2 100644 --- a/mastus/mail.nix +++ b/mastus/mail.nix @@ -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;