add submission port for ios email client to work

This commit is contained in:
Chang, Chu-Kuan 2021-04-17 18:43:29 +08:00
parent 456b4f7929
commit 7820fc86f6
1 changed files with 7 additions and 5 deletions

View File

@ -14,6 +14,7 @@
# Firewall setting, open following port: # Firewall setting, open following port:
# smtp port 25 # smtp port 25
# smtps port 465 # smtps port 465
# submission port 465
# imaps port 993 # imaps port 993
# #
# Mail will be stored in non-retarded Maildirs because it's ${current_year}. # Mail will be stored in non-retarded Maildirs because it's ${current_year}.
@ -145,6 +146,7 @@ table aliases file:/etc/mail/aliases
listen on lo0 listen on lo0
listen on egress port 25 tls pki "${maildomain}" filter "spam_triad" listen on egress port 25 tls pki "${maildomain}" filter "spam_triad"
listen on egress port 465 smtps pki "${maildomain}" auth filter "dkimsign" listen on egress port 465 smtps pki "${maildomain}" auth filter "dkimsign"
listen on egress port 587 tls-require pki "${maildomain}" auth filter "dkimsign"
action "local_mail" lmtp "/var/dovecot/lmtp" alias <aliases> action "local_mail" lmtp "/var/dovecot/lmtp" alias <aliases>
action "outbound" relay helo "${maildomain}" action "outbound" relay helo "${maildomain}"