Rule for blocking own domain spam?

Steven Andrews sandrews at andrewscompanies.com
Thu Dec 18 15:06:37 GMT 2008


Assuming your ms box only handles inbound you could do an sa rule of
something like:

header	bad_inbound		From =~/domain\.com/i
score		bad_inbound		20

this is where domain.com is your domain.  Do yourself a favor and set
the score to be something like 0.1 to test the rule out first; don't
make it zero or it won't even trigger.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Max
Kipness
Sent: Wednesday, December 17, 2008 5:02 PM
To: MailScanner discussion
Subject: Rule for blocking own domain spam?

Hi All,

I've been trying to figure out the best method for blocking spam that
appears to be sent from my own domain. Is this best done through a
MailScanner rule, and if so, how? Or can it be done in Sendmail?

We've been getting tons lately.

Thanks,
Max

-- 
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! 


More information about the MailScanner mailing list