Re: Question about filtering
"Gary R. Schmidt via leafnode-list" <[email protected]> Sat, 06 May 2023 22:27:41 +1000
| Newsgroups | gmane.network.leafnode |
|---|---|
| Message-ID | <[email protected]> |
On 2023-05-06 21:55, Carlos E. R. via leafnode-list wrote: > Hi, > > I have some spam I want to filter out, and I'm failing. > > From the headers: > > From: APKr-bYOBk2uvMKdmR6Xm/[email protected] (Apk) > Sender: APKr-bYOBk2uvMKdmR6Xm/[email protected] > > > I'm doing: > > /etc/leafnode/filters: > > newsgroups = .* > pattern = ^From:.*[email protected]* > action = kill > > > It is not working. What am I doing wrong? You need to escape the '.', try using "^From:.*APKr@domein\.nl.*". Cheers, Gary B-)