Article View: news.software.nntp
Article #59306Re: How to have Korrnews remove a newsgroup from posting
From: ~~~i LeoNid ~~
Date: Sun, 23 Jun 2002 21:51
Date: Sun, 23 Jun 2002 21:51
40 lines
2903 bytes
2903 bytes
On 6/23/2002 17:18 impersonator of Deep Thought <no.email.replies@excite.com>
planted &I saw in hamster.en.misc:
> In a conversation over heard in hamster.en.misc, Anthony R. Gold from
> Section ZZ9 Plural Z Alpha mumbled, and I quote:
>
>> Can someone advise how to use Korrnews to delete particular strings
>> found in header lines? I thought that the "Replace" function to
>> change the target string with a null ("") would be ideal but it only
>> appears to find and act on strings in body text and not in header
>> lines.
>
> This should work:
>
> Var %newsgroups% : String=Header(Newsgroups)
>
> If Lower(%newsgroups%) Contains "news.admin.net-abuse.email"
> Do Replace "news.admin.net-abuse.email," With "" In %newsgroups%
> Do Replace ",news.admin.net-abuse.email" With "" In %newsgroups%
> Set Header Newsgroups: %newsgroups%
> EndIf
>
0r... use my 0cess 5.28;-) and put in .ini file (in respective newsgroups'
sections or for [all]):
Groups= <groups to process, separated by spaces or nothing - for all>
Headers=newsgroups
XR-newsgroups=news\.admin\.net-abuse\.email
XW-newsgroups=
The last key could be omited (equvalent to empty value STRING)
XR-.. key defines Regular Expression -> here are dots escaped "\."
http://leo.portland.co.uk/here/0cess/0cess.zip
http://leo.portland.co.uk/here/0cess/readme.txt
--
19th rule of a militAry playEr: `Don't think ever - enemy/fri'end;/'ll know`
...---rry, just couldn't resist x-posting it in "forbidden" froup;-) enjoy;=
<- i-self -> posted articles archive: http://nux.home.dk3.com/doc00.htm
Technical Details
Message-ID:
<Xns923712F198FA8cheer@cheer.i>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-hamster.en.misc.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!192.118.7.242!not-for-mailReferences:
<0nbbhucutcgdie464gu27aiceoauq73pvo@4ax.com> <Sunday.23.June.2002.13.18.43.GMT.hamster.en.misc@Black.Hole.Vortex>Show Full Headers
Complete Article Headers
Message-ID: <Xns923712F198FA8cheer@cheer.i>
Subject: Re: How to have Korrnews remove a newsgroup from posting
Date: Mon, 24 Jun 2002 01:51:44 +0400
From: "~~~i LeoNid ~~" <nux@auto_no.mailru.com>
References: <0nbbhucutcgdie464gu27aiceoauq73pvo@4ax.com> <Sunday.23.June.2002.13.18.43.GMT.hamster.en.misc@Black.Hole.Vortex>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-hamster.en.misc.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!192.118.7.242!not-for-mail
Newsgroups: hamster.en.misc,news.software.readers,news.software.nntp
Organization: Just I
Lines: 39
NNTP-Posting-Host: 192.118.7.242
X-Trace: fu-berlin.de 1024872877 12351405 192.118.7.242 (16 [75186])
User-Agent: Xnews/5.03.24
C-red-o: 8-)
X-Face: ZPuWAG~_o6BEW"dE]oqei=RZVk%XG|3_:'q6Qt~um|uBLuq0}!bz|jm0tBH^'odX#f'\IKEA3v*uMZ\(&VbqtD{A?,t^,D7VN)C@L]WfsIsi59x+Pe$,D]"0{Ex(Sn*0N."~b9*.TOLQ8EP,fzfq^QGO-;V13/1Lhh/Y}5;yQlJDn[y\lK^c;tUi{%(%$4ZIF3XtX<$"flrkXF"Z{,3qf(;hBGL`.~C>\xACN#5c><!e\d\o-#(mU_^mk0Hj}?{qHpU(VjWeTj3^<jt<i0{z&hCfO,+|$q