[leafnode-list] filtering spam articles using the "from" field

Mark lists at greplinux.dyndns.org
Sat May 1 18:22:29 CEST 2004


Laurence wrote:
> Ray Abbitt wrote:
> 
>>It's actually fairly easy, but you may want to reconsider just a bit.
>>I believe you will find that a lot of legitimate posts in your spool
>>from users @xx.shawcable.net since shaw is one of the bigger cable
>>connectivity providers in Canada.
> 
> 
> I agree!  Maybe a filter or two on one of the 'Posting-Host' type headers
> would be better.
> 
> 
>>The following filter will work:
>>
>>pattern = ^From:.*shawcable.net
>>action = kill
> 
> 
> When did that change?  I thought the syntax for that was just a single line
> in /etc/leafnode/filters:
> 
> ^From:.*shawcable.net

You are correct...all my other filters follow this syntax


Mark



More information about the leafnode-list mailing list