How to block all email sent to a specific email address?

Taso Chatziantoniou TasNYC at TasNYC.com
Thu Mar 9 18:41:35 GMT 2006


you can add a line like this to your blacklist or whitelist ruleset

From:     blockemail at example.com and To: youremail at example.com    yes

The problem that i am running into with this as a whitelist rule (probably the same for blacklist) is 
that if you just whitelist to youremail at example.com and the email was sent to or cced to youremail at example.com and 
youremail2 at example.com and youemail3 at example.com and so on it will get whitelisted for all of them.
does anyone know a way around that?

if your not sure what i am asking, here is another example
I have a user named foo and he wants to be exluded from the spam filter altogether because of too many false positives
so i add this line to my whitelist

To:   foo at foobar.com    yes

Problem with this is if a spam email was sent to foo, mike, harry, bob, jane, frank since foo is in the whitelist
all these people will receive this spam messege no matter the spamassassin score.
not sure if we have any other way around that problem



-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info on behalf of Scott Silva
Sent: Wed 3/8/2006 7:16 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: How to block all email sent to a specific email address?
 
Jody Cleveland spake the following on 3/7/2006 11:46 AM:
> Hello,
> 
> Is it possible to create a rule that would blacklist all mail coming in
> for a specific email address?
> 
> Kind of like blacklist *@* to *@xavier.winnefox.org?
> 
> - jody
userdel xavier will block all the mail ;-)

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060309/2035f447/attachment.html


More information about the MailScanner mailing list