Faruque Ahmed : MCP, MCSA, MCSE, MCTS, MCIT, CCNA, OCA, OCP, GCP
-------------------------------
# vi /etc/postfix/master.cf
12 smtp inet n - y - - smtpd
13 #smtp inet n - y - 1 postscreen
14 #smtpd pass - - y - - smtpd
15 #dnsblog unix - - y - 0 dnsblog
16 #tlsproxy unix - - y - 0 tlsproxy
17 # Choose one: enable submission for loopback clients only, or for any client.
18 #127.0.0.1:submission inet n - y - - smtpd
19 submission inet n - y - - smtpd
20 -o syslog_name=postfix/submission
21 # -o smtpd_tls_security_level=encrypt
22 -o smtpd_sasl_auth_enable=yes
# if you use SMTPS (465), add follows to last line
140 # flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
###----------Add Line-------------------##
smtps inet n - n - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-----------------------OR----------------------
smtp inet n - y - - smtpd
#smtp inet n - y - 1 postscreen#smtpd pass - - y - - smtpd#dnsblog unix - - y - 0 dnsblog#tlsproxy unix - - y - 0 tlsproxy#submission inet n - y - - smtpd# -o syslog_name=postfix/submission# -o smtpd_tls_security_level=encrypt# -o smtpd_sasl_auth_enable=yes# -o smtpd_tls_auth_only=yes# -o smtpd_reject_unlisted_recipient=no# -o smtpd_client_restrictions=$mua_client_restrictions# -o smtpd_helo_restrictions=$mua_helo_restrictions# -o smtpd_sender_restrictions=$mua_sender_restrictions# -o smtpd_recipient_restrictions=# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject# -o milter_macro_daemon_name=ORIGINATING#smtps inet n - y - - smtpd# -o syslog_name=postfix/smtps# -o smtpd_tls_wrappermode=yes# -o smtpd_sasl_auth_enable=yes# -o smtpd_reject_unlisted_recipient=no# -o smtpd_client_restrictions=$mua_client_restrictions# -o smtpd_helo_restrictions=$mua_helo_restrictions# -o smtpd_sender_restrictions=$mua_sender_restrictions# -o smtpd_recipient_restrictions=# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject# -o milter_macro_daemon_name=ORIGINATING