Whitelisting Problem

Dhawal Doshy dhawal at netmagicsolutions.com
Mon Apr 10 09:57:25 IST 2006


Michele Neylon:: Blacknight.ie wrote:
> Hi
> 
> If this has been discussed previously I couldn't find it :)
> 
> In any case the problem / issue is as follows
> 
> For very good reason we are allowing all mail to abuse@ and support@ to
> bypass our spam filters, however if the email is CCed or BCCed to other
> addresses it gets through to them, which we don't want
> 
> Put another way...
> We want mail to abuse@ and support@ to get through BUT we don't want
> anyotheraddress@ to receive the junk
> 
> MTA is sendmail
> 
> Any thoughts / suggestions would be appreciated

Why not have a spamassassin header check.. something like

header	ABUSE_RULE	To =~ /\babuse\@*$/i
header	POSTMASTER_RULE	To =~ /\bpostmaster\@*$/i

and give it a negative score.. This way if i am correct, 'Cc' and 'Bcc' 
get ignored.

Also check the syntax once again, rule writing is not one of my strong 
points.

> TIA
> 
> Michele

- dhawal


More information about the MailScanner mailing list