[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] filtering spam articles using the "from" field
Laurence schrieb am 2004-05-01:
> 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
Between leafnode-1 (single-line PCRE) and leafnode-2.
> do grep -q "$*" /var/spool/news/$ngname/$mm && grep Subject:
pcregrep ships with PCRE and is closer to what leafnode will use.
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95
leafnode-list mailing list