diff --git a/email.nix b/email.nix index f01a19e..80ae588 100644 --- a/email.nix +++ b/email.nix @@ -16,7 +16,7 @@ mailserver = { enable = true; fqdn = "mail.eurofusion.eu"; - domains = [ "eurofusion.eu"]; + domains = [ "eurofusion.eu" ]; loginAccounts = config.secrets.emailAccounts; @@ -35,13 +35,16 @@ enableSubmissionSsl = true; }; - # Improve hashing speed services.dovecot2.extraConfig = '' + # Improve hashing speed auth_cache_verify_password_with_worker = yes ''; - # Prefer IPv6 + services.postfix.extraConfig = '' + # Prefer IPv6 smtp_address_preference = ipv6 + # Prevent binding on temporary addresses + smtp_bind_address6 = 2001:470:c8e8:0:230:48ff:fefa:91e1 ''; }