🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39327

Re: Killfile Triage

#39327
From: he... Heikki Kantola
Date: Thu, 05 Mar 1998 00:00
34 lines
2096 bytes

Heikki Kantola <he...@iki.fi> informed
news.software.readers with the following:
>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):

And here's tested and working version:

% spam address detector
define reply_hook()
{
   variable address=extract_article_header("Reply-To");
   if(address=="") address=extract_article_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?"))
       error("Reply cancelled."); 
}


-- 
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: <slrn6ftugg.g1t.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> <slrn6fdgod.bn1.hezu@tuuri.ling.helsinki.fi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6ftugg.g1t.hezu@tuuri.ling.helsinki.fi>
Subject: Re: Killfile Triage
Date: Thu, 05 Mar 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> <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
X-Deja-AN: 331294893
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