Zimbra enables SMTP authentication and binds authentication login and sender 1. smtp authentication 1.1 modify mynetworks to log on to the zimbra background --> global configuration --> MTA --> trust network --> 127.0.0.0/8 --> server configuration --> MTA --> trust network --> Reset to global configure 1.2 modify postfix to configure nano/opt/zimbra/conf/zmmta. cf modify smtpd_client_restrictions permit_sasl_authenticated, permit_mynetworks, reject_unauth_pipelining, reject2. smtp authentication and mail from binding Description: purpose: the user must send an email through smtp authentication, the sender of the email must be the same as the authenticated user before the email can be sent. Prevent the sender from forging the email sending email. 2.1 modify the postfix configuration nano/opt/zimbra/conf/zmmta. cf modify smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, expires, expires 2.2 modify postfix configuration 2 su zimbra postconf-e "smtpd_sender_login_maps = hash: /data/zimbra/sender "2.3 create/data/zimbra/sender hash file 2.3.1 create directory/data/zimbra/and modify permission # mkdir-p/data/zimbra/# chmod 777-R/data/zimbra/2.3.2 Create File sender # nano/data/zimbra/sender content: user1@example.com user1 user2@example.com user2... 2.3.3 create the/data/zimbra/sender hash file sender. db #/opt/zimbra/postfix/sbin/postmap/data/zimbra/sender