In on 24 Aug 2007 17:42:11 GMT, Blinky the Shark
< @ > wrote:
> William Poaster wrote:
>> It was on, or about, Thu, 23 Aug 2007 20:25:33 +0000, that as I was
>> halfway through a large jam doughnut, Blinky the Shark wrote:
>>
>>> Leafnode also has this setting:
>>>
>>> ## If you want to have your newsreader score/kill on Xref: lines, you
>>> might ## want to uncomment this.
>>> # create_all_links = 1
>>>
>>> I don't have it enabled. And so don't know what "full" means, there in
>>> that .
>>
>> I have always had it enabled, so you can kill on *any* header including
>> anything in the "Path:..." such as (for ):-
>> ^Path:.*news\.cnntp\.org* or ^Path:.*bigpond\.com*
>
> I've never read anything about that setting affecting anything but Xref
> (basing it on Newsgroups).
That's because it affects nothing but Xref. You can score on any
header in Leafnode, but create_all_links creates the crossposted
groups locally, with the result that they're mentioned in the Xref
line.
.
# ls /var/spool/news/uk
d-i-y media test
is the only one of those groups I've used, but as far as the
leafnode *server* is concerned the other two groups are just as real.
The only difference is that they're ignored when running the fetchnews
*client*.
<...>
>> BTW, something else you can do with leafnode is kill the dolts who post
>> in HTML: ^Content-Type:.*text/html
>
> I do that with my mail client, too.
When you switch to Leafnode 2, you'll discover the delights of
"select" and "score" rules as well as the ordinary "kill" rules.
I wonder how this would work?
# Most "kill" rules go above these next lines; all posts
# "selected" by these lines will *not* be killed by subsequent
# rules.
newsgroups = .+
pattern = ^Content-Type:\s*text/plain
action = select
# allows plain-text MIME posts through
pattern = ^Content-Type:\s*multipart/alternative
action = select
# allows PGP-MIME etc through, but has the side-effect of
# allowing HTML if it's accompanied by a plain-text
# alternative
# add other exceptions here
pattern = ^Content-Type:
action = kill
# kills not only HTML but also attached binaries and other
# crap
--
PJR :-)