Difference between revisions of "King0770-Notes-Rejecting-From-Addresses"

(Created page with "This is a how-to reject nested from addresses.<br> Example<br> <code><pre> From:<rick@zimbra.comjohn@zimbra.com> OR From:<"rick@zimbra.com john"@zimbra.com>" From:"<"rick@...")
 
(Blanked the page)
 
Line 1: Line 1:
This is a how-to reject nested from addresses.<br>
 
  
Example<br>
 
<code><pre>
 
From:<rick@zimbra.comjohn@zimbra.com>
 
 
OR
 
 
From:<"rick@zimbra.com john"@zimbra.com>"
 
 
From:"<"rick@zimbra.com.johm"@zimbra.com>"
 
</pre></code>
 
 
Add the following to the bottom of the /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf file<br>
 
<code><pre>
 
check_sender_access pcre:/opt/zimbra/conf/sender_pcre
 
</pre></code>
 
 
Next, create the /opt/zimbra/conf/sender_pcre file with the following.<br>
 
<code><pre>
 
/@.*@/      reject
 
</pre></code>
 
 
Restart MTA
 
<code><pre>
 
zmmtactl restart
 
</pre></code>
 

Latest revision as of 00:08, 28 November 2018

Jump to: navigation, search