enable submission on port 587

This commit is contained in:
Rouven Seifert 2023-05-31 14:58:26 +02:00
parent a9b8875563
commit 666e6b4425
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 3 additions and 2 deletions

View file

@ -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}";

View file

@ -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;