Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
There's more than one way to do things
 
PerlMonks  

Re: Most of the email spam I get is:

by jaldhar (Vicar)
on Jan 04, 2005 at 15:08 UTC ( [id://419390]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Most of the email spam I get is:

Not really perl-related but the best way of stopping spam is at the MTA level with RBLs (Runtime Black Lists.) These are lists of the IP addresses of confirmed spammers and other machines which should not be sending mail such as open relays, home machines, etc. Some RBLs are rather trigger-happy and add blacklist legitimate users sometimes but the following, which I use with postfix, are considered pretty reputable:

  • bl.spamcop.net
  • dnsbl.sorbs.net
  • list.dsbl.org
  • cbl.abuseat.org
  • dnsbl.njabl.org
  • sbl-xbl.spamhaus.org
  • relays.ordb.org
  • rhsbl.sorbs.net
For the first six months I used RBLs, I kept copies of rejected mail just to make sure I wasn't bouncing legitimate mail but I didn't have one false positive. However there is a small chance this could happen. But to me that risk is worth it for the dramatic reduction in spam. For spam that manages to evade the RBLs, the combination of spamassassin (with regular updates of the rulesets), clamav, and some procmail recipes provide a secondary line of defense.

I used to get 200-300 spam messages a day. Now thanks to these methods, I get 1 or 2.

--
જલધર

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://419390]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.