[leafnode-list] Re: Question about filtering
Carlos E. R.
robin.listas at telefonica.net
Sat May 6 14:30:09 CEST 2023
On 2023-05-06 14:26, Matthias Andree via leafnode-list wrote:
> 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?
I just noticed that the setting is not activated by default and changed
it. I was just going to post that. Will see tomorrow if it worked.
Thanks.
>
> 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
>
--
Cheers / Saludos,
Carlos E. R.
(from 15.4 x86_64 at Telcontar)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <https://www.leafnode.org/pipermail/leafnode-list/attachments/20230506/eccd4cab/attachment.sig>
More information about the leafnode-list
mailing list