diff --git a/modules/mail.nix b/modules/mail.nix index 2491c4d..408c03a 100644 --- a/modules/mail.nix +++ b/modules/mail.nix @@ -27,12 +27,13 @@ in sops.secrets."rspamd-password".owner = config.users.users.rspamd.name; sops.secrets."dovecot_ldap_search".owner = config.services.dovecot2.user; - networking.firewall.allowedTCPPorts = [ 25 465 993 ]; + networking.firewall.allowedTCPPorts = [ 25 465 587 993 ]; users.users.postfix.extraGroups = [ "opendkim" ]; services = { postfix = { enable = true; + enableSubmission = true; enableSubmissions = true; hostname = "${hostname}"; domain = "${domain}"; diff --git a/modules/mailman.nix b/modules/mailman.nix index 1841e53..e0cfc4c 100644 --- a/modules/mailman.nix +++ b/modules/mailman.nix @@ -12,7 +12,7 @@ enablePostfix = true; siteOwner = "mailman@${config.fsr.domain}"; settings = { - mta.smtp_secure_mode = "SecureMode.SMTPS"; + mta.smtp_secure_mode = "SecureMode.STARTTLS"; }; ldap = { enable = true;