From 64df845e63038db35ade0ca6f4dfa79317a0300b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KJ=20=C3=98rbekk?= Date: Tue, 23 May 2017 21:31:24 -0400 Subject: Fix postfix. --- config/mail-server.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/mail-server.nix b/config/mail-server.nix index 9e45b3d..cb74b72 100644 --- a/config/mail-server.nix +++ b/config/mail-server.nix @@ -9,11 +9,11 @@ extraConfig = '' passdb { driver = passwd-file - args = username_format=%n /var/lib/dovecot/passwd + args = username_format=%n /opt/secret/dovecot-passwd } userdb { driver = passwd-file - args = username_format=%n /var/lib/dovecot/passwd + args = username_format=%n /opt/secret/dovecot-passwd } mail_debug = yes service auth { @@ -30,7 +30,7 @@ services.postfix = { enable = true; - hostname = "semeai"; + hostname = "shape"; domain = "orbekk.com"; destination = ["orbekk.com" "kj.orbekk.com" "orbekk.no" "kj.orbekk.no" "kufieta.net"]; @@ -77,5 +77,8 @@ lise: ${lise} ''; + sslCert = "${config.security.acme.directory}/shape.orbekk.com/fullchain.pem"; + sslCACert = "${config.security.acme.directory}/shape.orbekk.com/fullchain.pem"; + sslKey = "${config.security.acme.directory}/shape.orbekk.com/key.pem"; }; } -- cgit v1.2.3