Article View: news.software.readers
Article #170931Re: [Dialog] Filter out poster and responses
From: JoeB
Date: Tue, 09 Aug 2005 12:38
Date: Tue, 09 Aug 2005 12:38
69 lines
3675 bytes
3675 bytes
On Sat, 6 Aug 2005 15:11:19 +0200, Enrico Bauer wrote: > 04.08.2005 05:14:38, *Ian Rastall*: >> I'm kind of dense when it comes to figuring out filtering rules for >> Dialog. :-) I'm looking to filter out not just a poster, but every >> response to said poster. > > !delete Message-ID "FQDN of the bad boy/girl" > !delete References "FQDN of the bad boy/girl" > >> I'm thinking this has to do with message-ID and references, [...] > > Right, you'll have to filter on the MID for the poster and that MID > again in the references. This is only possible if that particular poster > uses a FQDN, so that you can track it. > > There's no way to do that with your posts and answers to it, but you can > practice with me ... ;-) > > HTH > Enrico <delurk> I originally started using Dialog because its scripting would let me do this :-) I have a script which works for me - it's a bit clunky, but it does the job. I can post it if people would like... Here's the readme: // OnXover script to identify and kill posts by banned authors, and // followups to those posts. // How it works: // As each set of headers are retrieved, the From and Message-ID headers // are checked against lists of banned strings, allowing you to kill posts // that are either from specific authors or posted through specific ISPs // (for trolls who morph a lot.) // If any of the banned strings are found anywhere in the relevant header, // the message is killed and its message id is added to a list of banned // message ids. // If a message passes these two checks, its References header is checked // against the list of banned message ids. If a match is found, then the // message is a followup, and is killed. // To use: // 1) Create a folder called c:\killfile // 2) In this folder create blank text files called // killmsg.txt // killmid.txt // killfrom.txt // In killfrom.txt, enter the strings in the From: header that you want to // kill on. // For example, if you want to kill messages from Iamatroll@troll.biz you // could put Iamatroll or @troll.biz in killfrom.txt. // In killmid.txt, enter the strings in the Message-ID header that you want // to kill on. // For example, if you want to kill all posts from googlegroups, you could // put googlegroups.com in killmid.txt -- JoeB I will not include a self-destruct mechanism unless absolutely necessary. If it *is* necessary, it will not be a large red button labelled "Danger: Do Not Push". - The Evil Overlord's Handbook
Technical Details
Message-ID:
<1ojqok8pcz58m.wqz9e7zf1hgc.dlg@40tude.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!nntp.csufresno.edu!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<46mt8sd5poif.19xmque1k1z94.dlg@40tude.net> <060805.151119.nsr.19@ID-5349.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <1ojqok8pcz58m.wqz9e7zf1hgc.dlg@40tude.net> Subject: Re: [Dialog] Filter out poster and responses Date: Tue, 9 Aug 2005 13:38:31 +0100 From: JoeB <morph@clara.co.uk> References: <46mt8sd5poif.19xmque1k1z94.dlg@40tude.net> <060805.151119.nsr.19@ID-5349.user.uni-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!nntp.csufresno.edu!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.readers Approved: ish Organization: Posted via Supernews, http://www.supernews.com User-Agent: 40tude_Dialog/2.0.11.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: morph@clara.co.uk X-Complaints-To: abuse@supernews.com Lines: 69