Zimbra version 8.6.0
Cause a partial non-canonical mailbox send message is rejected after the Zimbra DNS check is turned on.
Workaround: You can add a whitelist to this part of the mailbox
Zimrba Wiki Documentation Example:
Https://wiki.zimbra.com/wiki/Specific_Whitelist/Blacklist_per_IP
Because the example only describes the black-and-white list IP address, it is not known whether the domain name is feasible.
Because Zimbra also uses postfix as the MTA, the method that is in effect in the configuration also makes Postfix configuration items smtpd_recipient_restrictions changes.
View Postfix Documentation
Http://www.postfix.org/SMTPD_ACCESS_README.html
Through multiple documents can confirm the change of thinking, directly modify the Postfix sender Check configuration item smtpd_recipient_restrictions, because Zimbra Postmap generated database is. Lmdb, not. db so you can't use hash directly: Need to use Lmdb:
Lmdb using reference files: http://www.postfix.org/DATABASE_README.html
Create a sender_checks file under the/etc/postfix/directory
Modify the Sender_checks permission to Zimbra:zimbra
Fill in the Sender_checks file
Example12939.com REJECT
Example12940.com OK
Su Zimbra
Pass
Postmap/etc/postfix/sender_checks
Generate a file in this directory as:
Sender_checks.lmdb
If the smtpd_recipient_restrictions item is modified directly in/opt/zimbra/postfix/conf/main.cf, zmmtactl restart; Zmconfigdctl Restart; /OPT/ZIMBRA/POSTFIX/CONF/MAIN.CF will be restored after reboot
The Zimbra configuration file has a smtpd_recipient_restrictions.cf in CD/OPT/ZIMBRA/CONF/ZMCONFIGD, in/opt/zimbra/postfix/conf/ The configuration in which the MAIN.CF is in effect is configured in the file.
After permit_mynetworks in the file, add:
Vim/opt/zimbra/conf/zmconfigd/smtpd_recipient_rest
Permit_mynetworks
Check_sender_access Lmdb:/etc/postfix/sender_checks
And then re-enter the configuration
Zmmtactl Restart; Zmconfigdctl Restart;
Discover that using all mailboxes in example12940.com is not rejected because it is not a standard reverse domain name resolution
Post-add black and white lists only need to be executed under the Zimbra account
Modify
/etc/postfix/sender_checks file
Postmap/etc/postfix/sender_checks Rebuilding the Lmdb database
Zimbra 8.6.0 Add black and white list method