🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39197

Re: Killfile Triage

#39197
From: he... Heikki Kantola
Date: Fri, 27 Feb 1998 00:00
36 lines
2096 bytes

Sven Guckes <guc...@math.fu-berlin.de> informed
news.software.readers with the following:
>I hope that JED will add some code or macros to slrn
>which will warn me about "nospam" address of posters
>so I can abort my response right away.
>I really dont want to waste any time on people
>who make it clear that they do not want replies.

I'm not JED, but how about something along these lines (untested):

define reply_hook() 
{ 
   variable address=extract_header(Reply-To);
   if(address=="") address=extract_header(From);
   if(string_match(address, "spam",1) or string_match(address, "remove",1))
     % add other keywords if needed
     if(get_yes_no_cancel(address+" looks bogus, give up?"))
	return; % hopefully that just exits this hook and cancels reply
}

>How did comp.lang.perl.misc get into this?

The killfile in first posting was designed for that group I think...
  
>Note: Followup-To: news.software.readers

alt.lang.s-lang added :]

-- 
Heikki "Hezu" Kantola, <Heikki...@IKI.FI>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
Technical Details
Message-ID: <slrn6fdgod.bn1.hezu@tuuri.ling.helsinki.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <6bnv7o$n1g$1@csnews.cs.colorado.edu> <qz$9802171355@qz.little-neck.ny.us> <34f4a2ec.979854@news.omen.net.au> <eli$9802261011@qz.little-neck.ny.us> <6d5u7t$5rp$1@sampo.creighton.edu> <slrn6fddna.42f.guckes@rudin.math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6fdgod.bn1.hezu@tuuri.ling.helsinki.fi>
Subject: Re: Killfile Triage
Date: Fri, 27 Feb 1998 00:00:00 +0000
From: he...@iki.fi (Heikki Kantola)
References: <6bnv7o$n1g$1@csnews.cs.colorado.edu> <qz$9802171355@qz.little-neck.ny.us> <34f4a2ec.979854@news.omen.net.au> <eli$9802261011@qz.little-neck.ny.us> <6d5u7t$5rp$1@sampo.creighton.edu> <slrn6fddna.42f.guckes@rudin.math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 329366160
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Newsgroups: news.software.readers,alt.lang.s-lang