File: //etc/postfix/master.cf
smtp inet n - y - - smtpd
pickup unix n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
qmgr unix n - y 300 1 qmgr
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp
anvil unix - - y - 1 anvil
scache unix - - y - 1 scache
# TLS manager (aktif, penting bila sebelumnya error private/tlsmgr)
tlsmgr unix - - y - 1 tlsmgr
# 587 — Submission (STARTTLS wajib)
# 465 — SMTPS (TLS wrapper)
submission inet n - y - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
-o smtpd_milters=
-o non_smtpd_milters=
-o smtpd_peername_lookup=no
-o smtpd_delay_reject=no
smtps inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
-o smtpd_milters=
-o non_smtpd_milters=
-o smtpd_peername_lookup=no
-o smtpd_delay_reject=no
rewrite unix - - n - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
trace unix - - y - 0 bounce
verify unix - - y - 1 verify
retry unix - - y - - error
error unix - - y - - error
discard unix - - y - - discard
smtp unix - - y - - smtp
relay unix - - y - - smtp
flush unix n - y 1000? 0 flush
showq unix n - y - 0 showq