[leafnode-list] Re: Question about filtering

Matthias Andree matthias.andree at gmx.de
Sat May 6 14:26:02 CEST 2023


Am 06.05.23 um 13:55 schrieb Carlos E. R. via leafnode-list:
> Hi,
>
> I have some spam I want to filter out, and I'm failing.
>
> From the headers:
>
> From: APKr at domein.nl (Apk)
> Sender: APKr at domein.nl
>
>
> I'm doing:
>
> /etc/leafnode/filters:
>
> newsgroups = .*
> pattern = ^From:.*APKr at domein.nl.*
> action = kill
>
>
> It is not working. What am I doing wrong?

Carlos, you seem to be using leafnode-2.

Are you setting the filterfile in /etc/leafnode/config?

The filterfile(5) manpage:

> You  can also add "filter debugging" if you need more detailed logging,
> but it is copious and should not be used unattended. Try running fetch‐
> news or applyfilter with the "-D33 -e" options to see such logging.

HTH



More information about the leafnode-list mailing list