[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Filtering crossposts to gmane.spam.detected


on gmane.discuss [1], we were discussing the best way to filter Spam
using leafnode's filter file.


On Gmane, all Spam articles, detected either by SpamAssasin or
reported (and confirmed) by humans, is crossposted to
`gmane.spam.detected' [2].  So filtering crossposts to
`gmane.spam.detected' is very useful for Modem users.

On the server news.gmane.org, "Xref:" is returned by XOVER,
"Newsgroups:" isn't:

--8<---------------cut here---------------start------------->8---
$ telnet news.gmane.org nntp
Connected to news.gmane.org.
Escape character is '^]'.
200 main.gmane.org InterNetNews NNRP server INN 2.3.2 ready (posting ok).
group gmane.emacs.bbdb.user
211 1128 1 1128 gmane.emacs.bbdb.user
xover 1120-1128
224 1120-1128 fields follow
1127    [...]Xref: [...] gmane.emacs.bbdb.user:1127 gmane.spam.detected:90510
1128    [...]Xref: main.gmane.org gmane.emacs.bbdb.user:1128
--8<---------------cut here---------------end--------------->8---

My question is: Does leafnode (2.0.x) take advantage of XOVER for
filtering?  Which filter criteria is the most efficient in this case.

pattern = ^Xref:.* gmane\.spam\.detected:
action = kill

pattern = ^Newsgroups:.*[, ]gmane\.spam\.detected$
action = kill
pattern = ^Newsgroups:.*[, ]gmane\.spam\.detected,
action = kill

(3) other (better) suggestions?

Bye, Reiner.

[1] http://news.gmane.org/thread.php?group=gmane.discuss

[2] http://gmane.org/filter.php
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list