Article View: news.software.readers
Article #262943Re: [Dialog] What is the procedure for a basic plonk killfile in 40tude dialog?
From: VanguardLH
Date: Thu, 27 Sep 2018 02:32
Date: Thu, 27 Sep 2018 02:32
141 lines
8151 bytes
8151 bytes
Doyun Jahng wrote:
> Response to Doyun Jahng <ahngdoyun@tbroad.com>
>
> I started cleaning up alt.home.repair group which is currently unreadable.
> Here is my current killfile for Dialog before I hit a snag.
> [*]
> !delete From "p-0''0-h the cat (coder)"
My filters on cat-poop:
# John Stubbings: Nymshifting troll (aka za Kat, Pooh The Cat), starts worthless threads, spews childish profane insults, no value.
!setcolor(maroon;default),ignore,markread From {(\b|_)John(\W|_)*Stubbings(\b|_)}
!setcolor(maroon;default),ignore,markread From {<\S*(anna\b?.*\brice.*@(virgin|sup(e|é)r.?s(e|é)cr(e|é)t)|s(e|é)cr(e|é)t\b?.*\bIP)}
!setcolor(maroon;default),ignore,markread From {<sup(e|é)r.?s(e|é)cr(e|é)t(\W|_)*ip.?addr(e|é)ss\b}
!setcolor(maroon;default),ignore,markread From {(\W|_)*p(\W|_)*(o|ó|0)(\W|_)*(o|ó|0)(\W|_)*h(\W|_)*th(e|é)(\W|_)*cat(\b|_).*<}
!setcolor(maroon;default),ignore,markread From {^(\W|_)*za(\W|_)*kat(\b|_).*<zakat@}
!setcolor(maroon;default),ignore,markread Header {^X-Authenticated-User: (\$\$e2\$ou3r0xnq5tj7p\$xnj|\$\$gwbwayjc_wip36mbewj-e-pml)$}
!setcolor(maroon;default),ignore,markread Header {^X-Authenticated-User: (\$\$g3b5c122w1pdud1m\$qv3bkmank|\$\$xw-0v45517_p5c5o-su28nz)$}
Change 'setcolor(...),ignore,markread' to just 'delete', 'markread', or
whatever action(s) you want. The 4th From filter is likely the only one
you'll use now rather than all the others for his nymshifting. The last
two that test on the X-Authenticated-User header probably are no longer
valid since, I believe, whatever NNTP server was adding that to track
posts by a particular user stopped adding that header.
pooh likes to use substitute characters and otherwise mangle his nym but
still have humans recognize his various nyms as pooh[the]cat. I don't
use quoted strings because I need regex to catch all the obfuscations in
his nyms. When my filters miss his posts, I have to update them to
catch his latest mutation.
> !delete From "trader_4"
Got a Message-ID for one of those posts. I don't have a filter on that
poster but then I don't visit that newsgroup. If he visits the
newsgroup that I do inhabit, I might be nailing his posts via other
filters, like filtering out Google Groupers, mixmin users, Altopia
injected or peered posts, etc.
> !delete From "%"
>
> The first two worked, but the third did not work.
I don't think you can use regex (to escape a special character with a
backslash prefix) when using a quoted string. When using "string", you
are actually testing for that substring anywhere in the header's value.
If you want to use regex, use something like:
From {\%}
Better would be if you give the Message-ID for an example article that
has the % somewhere in its From header.
> Here is the original message for the "%" person above.
> Message-ID: <bkdg10.bdf.19.2@news.alt.net>
> <https://groups.google.com/d/msg/alt.home.repair/rEOLQKZxLyg/5jH5N-KrAAAJ>
Thanks for that. Easier to work on a specific rather than a vaguity.
Oops, I'll never see those posts. Already explained in another reply
why I reject any posts that [pretend to] originate from Altopia or
[pretend to] peer through Altopia. If Altopia ever ceases to let their
users pre-load the Path header, or employ a script to check submissions
to make sure a user's preloaded injection node actually ends with
alt.net, then I'll start trusting that source.
> Here is the original From line.
> From: % <persent@gmail.com>
^__ the troll can't spell
If they always use just the percent-sign in the comment field of the
From header and that's the only character in there, I'd use:
From {^\%\s*<}
The ^ anchors the string to the left side. That means nothing can ever
appear before %. If the poster used "hello %" or "% % %" then the above
filter won't work. The backslash escapes the special character of %.
The \s* tests for zero, or more spaces after % but before the < which
starts the address field of the From header. Adding the leading address
delimiter (<) means the % must appear in the comment field, not in the
address field. The above filter will trigger on:
From: % <address>
From: %<address>
From: % <address>
but not on:
From: -%- <address>
From: % % <address>
If the troll doesn't change their address field, you could use:
From {^\s*(\%\s*)+<per(s|c)ent@gma(il|le)\.}
That tests if the % is prefixed with spaces (but only spaces due to
anchoring with the ^), has zero, or more spaces after the %, if multiple
% characters (with optional spaces) are used, and the address field is
always persent@gmail.com or percent@gmail.com (in case the troll
realizes their mispelling), and whether the troll uses gmail or gmale as
the domain name. I don't include the TLD of com because the troll could
use com, c0m (zero, not oh), co.uk, invalid, or something else but they
might fixate on gmail for awhile.
Why are you reading posts that are cross-posted to flame and garbage
newsgroups? The % poster's Newsgroups header has:
Newsgroups: alt.politics.scorched-earth,alt.home.repair
If a garbage newsgroup is included, ignore those posts.
# Ignore attempts to include unwanted or garbage newsgroups.
!delete Header {^(Newsgroups|FollowUp-To): \S*\b(rec\.|test|null|2600|flame|kooks?|warez|test(en)?\b|soc(\.|i)|pol(\.|iti)|econ|hate|relig|tasteless|personals|alt\.native|advocacy|free\.usenet)}
!delete Header {^(Newsgroups|Xref|FollowUp-To): .*\b(\.christ|\.rec\.sheds|childfree|sci\.physics|fuck|suck|shit|asshole|\.troll|bitterness|immigrat|free.spirit)}
I showed the delete action which you want to use (but I don't for
reasons already mentioned).
Sometimes you have to define multiple filters for one filter. Dialog
has a maximum line length per filter. I don't remember what it is but
when I see a rules stops working that can be due to the line being too
long. So I just extend the rule into another line for a similar filter.
As you can see, several newsgroups qualify, to me, as garbage
newsgroups. I don't visit there and they are off-topic to the
newsgroups that I do inhabit, so cross-posting to any of those garbage
newsgroups means the post to one, or more, of the newsgroups is
off-topic or they're trying to flame one newsgroup with your response in
another.
Since I filter out the political newsgroups using "pol(\.|iti)", I won't
see any posts that cross-post to alt.politics.scorched-earth. Do you
consider any politics newsgroups related to what you want to see in a
home repair newsgroup?
You have to watch those newsgroups. Trolls may cross-post into garbage
or flaming newsgroups. They might cross-post to prod you to reply to
another newsgroup that results in you flaming that newsgroup
unintentionally. They might use the FollowUp-To header to redirect any
negative replies to a *.test newsgroup.
Technical Details
Message-ID:
<14jo6gfv2q7p4.dlg@v.nguard.lh>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<po1oib$2nbu$1@adenine.netfront.net> <3ztpm0g3eprq.dlg@v.nguard.lh> <po2no7$48s$1@adenine.netfront.net> <woa6m33isfx1.dlg@b.rose.tmpbox.news.arcor.de> <poh1nj$18c0$1@adenine.netfront.net> <poh6re$1oot$1@adenine.netfront.net> <poh8hn$1udm$1@adenine.netfront.net> <poh9sb$23d9$1@adenine.netfront.net>Show Full Headers
Complete Article Headers
Message-ID: <14jo6gfv2q7p4.dlg@v.nguard.lh> Subject: Re: [Dialog] What is the procedure for a basic plonk killfile in 40tude dialog? Date: Wed, 26 Sep 2018 21:32:37 -0500 From: VanguardLH <V@nguard.LH> References: <po1oib$2nbu$1@adenine.netfront.net> <3ztpm0g3eprq.dlg@v.nguard.lh> <po2no7$48s$1@adenine.netfront.net> <woa6m33isfx1.dlg@b.rose.tmpbox.news.arcor.de> <poh1nj$18c0$1@adenine.netfront.net> <poh6re$1oot$1@adenine.netfront.net> <poh8hn$1udm$1@adenine.netfront.net> <poh9sb$23d9$1@adenine.netfront.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: Usenet Elder Lines: 141 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net Dl0SejYfKe91DkkXFMgXGwSmp6E8dkXqWUeo+PbLCPwGsHhmFN Keywords: VanguardLH VLH811 Cancel-Lock: sha1:o+iy+aqWFM+ohgWRX/qN4TfZrCk= User-Agent: 40tude_Dialog/2.0.15.41 X-Received-Bytes: 8038 X-Received-Body-CRC: 226183248