King0770-Notes-Rejecting-Nested-From-Addresses
This is a how-to reject nested from addresses.
Example
From:<rick@zimbra.comjohn@zimbra.com>
OR
From:<"rick@zimbra.com john"@zimbra.com>"
From:"<"rick@zimbra.com.johm"@zimbra.com>"
Add the following to the bottom of the /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf file
check_sender_access pcre:/opt/zimbra/conf/sender_pcre
Next, create the /opt/zimbra/conf/sender_pcre file with the following.
/@.*@/ reject
Restart MTA
zmmtactl restart