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

[leafnode-list] Re: filtering crossposts



On Sun, Jul 23 2006, Lloyd Zusman wrote:

> Amedee Van Gasse <amedee@xxxxxxxxx>
> writes:
>
>> With an example: I want to see posts that go to be.comp.os.linux OR to
>> be.comp.os.windows, but I don't want to see posts that are crossposted
>> between them (because these are almost always inflamatory...)
>
> Put this into your filters file:
>
>   newsgroups = ^be\.comp\.os\.(linux|windows)$
>   maxcrosspost = 1
>   action = kill

This rule would kill other cross-posts too, e.g. postings with
"Newsgroups: be.comp.os.linux,be.foo" or "Newsgroups:
be.comp.os.windows,be.bar".

How about one of the following rules (leafnode2 syntax)?

,----
| newsgroups = be\.comp\.os\.linux
| pattern = ^Xref:.* be\.comp\.os\.windows:
| action = kill
| newsgroups = be\.comp\.os\.windows
| pattern = ^Xref:.* be\.comp\.os\.linux:
| action = kill
`----

,----
| newsgroups = be\.comp\.os\.(linux|windows)$
| pattern = ^Xref:.* be\.comp\.os\.linux:.* be\.comp\.os\.windows:
| action = kill
| pattern = ^Xref:.* be\.comp\.os\.windows:.* be\.comp\.os\.linux:
| action = kill
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/