postfix設定smtp認證PORT
port: 587(使用 STARTTLS 提交)和 465(SMTPS)
修改usr/local/etc/postfix/master.c設定以下行:
開啟並保護連接埠 587:
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=may
-o smtpd_sasl_auth_enable=yes
開啟並保護連接埠 465:
smtps inet n - n - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes