[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Fun With Regexp
>>>>> "Alex" == Alex Hudson <home [at] alexhudson.com> writes:
Alex> On Sat, 2002-11-09 at 11:52, Richard Ibbotson wrote:
>> The most common feature throughout the spam that I receive is
>> that there's a lot of HTML formatted mail. Is there any way
>> that I can write a regex to cut this out ?
Alex> I personally use SpamAssassin...
Add a "me too!" to the votes for SpamAssassin.
I use a simple perl script which calls Mail::Audit and
Mail::SpamAssassin to filter my mail, rather than use procmail, then
spam checks it.
If the mail is spam, then I add the headers to the spam so I can
figure out why SpamAssassin decided it was spam, otherwise the mail
just gets dropped in one of my mail folders.
Have a look at
http://www.perl.com/pub/a/2001/07/17/mailfiltering.html
(Mail::Audit)
and
http://www.perl.com/pub/a/2002/03/06/spam.html
(Mail::Audit and Mail::SpamAssassin)
Cheers.
Baz.
--
Barrie J. Bremner
baz-sheflug [at] barriebremner.com http://barriebremner.com/
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.