diff options
author | KJ Ørbekk <kj@orbekk.com> | 2017-05-23 21:31:24 -0400 |
---|---|---|
committer | KJ Ørbekk <kj@orbekk.com> | 2017-05-23 21:31:24 -0400 |
commit | 64df845e63038db35ade0ca6f4dfa79317a0300b (patch) | |
tree | 9b57141a5517d21195b3b7d1d6e46b069b636cd6 /config | |
parent | 6d9e0bfe2b01b24df7491d2ffa94f21595c140f0 (diff) |
Fix postfix.
Diffstat (limited to 'config')
-rw-r--r-- | config/mail-server.nix | 9 |
1 files changed, 6 insertions, 3 deletions
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"; }; } |