Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

automate mail filter entry?

by Marza (Vicar)
on Nov 06, 2003 at 03:20 UTC ( [id://304937]=perlquestion: print w/replies, xml ) Need Help??

Marza has asked for the wisdom of the Perl Monks concerning the following question:

Having become the official spam monkey for the company; I have been pondering automatting mail filter entries for the sendmail server.

We have the Trendmicro eManager product that does an ok job; however garbage does get through.

I set up a junk address that people can forward their spam and it gets reviewed(by hand) and entries are made to the filters

I have pondered many approaches such as mail address and web address matching; gets added to a rule file for from addresses, etc. etc.

Does this sound like I am reinventing the wheel? Before I dive into cpan; does anybody have any suggested modules?

Thanks! and if/when I get this thing rolling; I will share the code.

Replies are listed 'Best First'.
Re: automate mail filter entry?
by Cody Pendant (Prior) on Nov 06, 2003 at 03:28 UTC
    Mail::SpamTest::Bayesian would seem to be the same kind of thing that good spam filters use, i.e. Bayesian statistical analysis.


    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
Re: automate mail filter entry?
by tcf22 (Priest) on Nov 06, 2003 at 03:39 UTC
Re: automate mail filter entry?
by sunadmn (Curate) on Nov 06, 2003 at 03:42 UTC
    I am not sure if this is exactly what you are looking for but try SpamAssassin. Also has your company checked into BrightMail I use this at my company at it works very nice with sendmail and other platforms, also you might want ot message my buddy l2kashe here at perl monks he has done some extensive work with email at my company also he might have some good pointers for you.

    -Sunadmn
(shockme) Re: automate mail filter entry?
by shockme (Chaplain) on Nov 06, 2003 at 03:48 UTC
    I don't have anything Perlish to add, other than a hearty 'amen' to the previous suggestions. However, if you're running sendmail and wanting to use SpamAssassin, you'll need a milter. My office has been using spampd with good results. The author, Maxim Paperno, has also been very helpful in assisting me track down what few problems we have had.

    I'm not affiliated with spampd, Paperno, or his employer. Just trying to help out where I can.

    If things get any worse, I'll have to ask you to stop helping me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://304937]
Approved by tcf22
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-26 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found