> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cross > Sent: 01 September 2003 22:10 > To: [EMAIL PROTECTED] > Subject: Programming Email Filters > > Like (I guess) many people round here I'm getting Too Much > Email that I don't want to read. So I'm doing something about > it. Using Perl. And no, of course, no-one elses solution will > work just how I want it to work so I'm in full wheel-reinvention mode. > > The biggest problem I'm currently having is bounces from spam > that has fake addresses in my domains as the 'From:' header, > so that's the problem I'm addressing first. I have a finite > number of email addresses that I want to read email for and > any email addressed to a different address will be filtered > off to a different folder for later investigation. > <snip> > > But my procmail powers are weak and I can't work out how to > do it. I see that spamassassin adds a new header to the email > and my next procmail rules does the filtering. That would be > an acceptable solution if I can't do it all in one rule. > > > Any help and advice on all of these issues much appreciated. >
I know this isn't a perl solution but I have been using spambouncer (http://www.spambouncer.org/) It's purely a who load of procmail recipies which get updated periodicly. It doesn't seem to produce too many false positives (I think I've had 4 in 3 months). It also has a series of files for configuration e.g. .nobounce is a list of domains/email addresses that should be always accepted if they appear in the from field. .myemail is a list of email addresses that I use regularly eg andyw[at]hillway.com, sms[at]hillway.com etc. It has been very useful as people are spoofing one of my domains for spam *grrrr* Andy
