After the last installation of the service, I configured last to be a magic for configuration reference
The format and parameters in this configuration file can refer to postfix official documentation: http://www.postfix.com/documentation.html
SMTP inet n-n--SMTPD
#submission inet N----SMTPD
#-O Smtpd_enforce_tls=yes
#-O Smtpd_sasl_auth_enable=yes
#-O Smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet N----SMTPD
#smtp inet n-n--SMTPD
#-O Smtpd_tls_wrappermode=yes
#-O Smtpd_sasl_auth_enable=yes
#-O Smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet N----QMQPD
Pickup FIFO N--1 pickup
Cleanup Unix N---0 cleanup
#qmgr FIFO n-n 1 qmgr
Qmgr FIFO N--1 Oqmgr
Tlsmgr Unix---1000? 1 tlsmgr
Rewrite Unix-----Trivial-rewrite
Bounce Unix----0 bounce
Defer UNIX----0 bounce
Trace Unix----0 bounce
Verify UNIX----1 Verify
Flush Unix N--1000? 0 Flush
Proxymap Unix--N--Proxymap
SMTP Unix-----SMTP
# Virus and Spam filter
Smtp-amavis Unix--n-2 SMTP
-O smtp_data_done_timeout=1200
-O Smtp_never_send_ehlo=yes
-O Disable_dns_lookups=yes
127.0.0.1:10025 inet n-n--SMTPD
-O content_filter=
-O local_recipient_maps=
-O relay_recipient_maps=
-O smtpd_restriction_classes=
-O smtpd_client_restrictions=
-O smtpd_helo_restrictions=
-O smtpd_sender_restrictions=
-O Smtpd_recipient_restrictions=permit_mynetworks,reject
-O MYNETWORKS=127.0.0.0/8
# when relaying mail as backup MX, disable Fallback_relay to avoid MX loops
Relay UNIX-----SMTP
-O fallback_relay=
#-O smtp_helo_timeout=5-o smtp_connect_timeout=5
SHOWQ Unix N----SHOWQ
Error UNIX-----error
Discard Unix-----Discard
Local unix-n N--Local
Virtual Unix-n N--Virtual
LMTP Unix-----LMTP
Anvil Unix----1 anvil
Scache Unix----1 Scache
#
# ====================================================================
# Interfaces to Non-postfix software. Be sure to examine the manual
# pages of the Non-postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe (8) delivery
# Agent. See the pipe (8) Mans page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# Maildrop. See the Postfix Maildrop_readme file for details.
# Also Specify in Main.cf:maildrop_destination_recipient_limit=1
#
Maildrop unix-n N--pipe
Flags=drhu user=vmail argv=/usr/bin/maildrop-d ${recipient}
#
# See the Postfix uucp_readme file for configuration details.
#
UUCP unix-n N--pipe
Flags=fqhu USER=UUCP argv=uux-r-n-z-a$sender-$nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
Ifmail unix-n N--pipe
Flags=f user=ftn argv=/usr/lib/ifmail/ifmail-r $nexthop ($recipient)
bSMTP unix-n N--pipe
Flags=fq. USER=BSMTP Argv=/usr/lib/bsmtp/bsmtp-t$nexthop-f$sender $recipient
Scalemail-backend unix-n n-2 Pipe
Flags=r user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
Mailman unix-n N--pipe
FLAGS=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}