🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.support.os2
Article #204

Re: Hacked getmail to destroy spam

#204
From: Andrew Clarke
Date: Sun, 07 Dec 1997 00:00
30 lines
1791 bytes
On Sat, 06 Dec 1997 07:46:15 +0000, "A.M. Basman"
<amb26@ponder.demon.co.uk> in <348902C7.6990@ponder.demon.co.uk>
wrote:

>OK, I'm here. Terrance Boyes mentioned that someone has a version of
>getmail that can killfile on envelope? Any takers?

Yep.

I've wrote a small C program to do the regexing (my ReXX is rather
piss-poor) and hacked getmail.cmd to call it.  It's pretty ugly, but
it can kill any incoming mail based on the MAIL FROM: line.

I use it quite successfully to slap all incoming mail from brainless
spam engines (ie, 12345678@14452.com) as well as the bigger
spamhouses, and it does have the (very) slight advantage of generating
a proper bounce before without you having to download a thing.

If you're still interested, I'll zip it and add a few lines of
explanatory text for the filter file format and send it to you.

But it can't deal with the majority of spam I get at the moment, which
hijacks legit domain's names to foil filtering like this, but that
will be a job for my java spam filtering system (which is currently
highly embryonic so don't even ask :).
-- 
Andrew Clarke - "If Jesus loves me, why won't he swallow?"
PGP Public Key available. Email address needs to be de-mangled
"Having your nuts nibbled off by a Laplander, that's a way to die."
Technical Details
Message-ID: <348b13ea.15008881@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <348902C7.6990@ponder.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104dc3,447484579719956e
X-Google-Attributes: gid104dc3,public
From: andrew@REMOVE-THIS.plinth.demon.co.uk (Andrew Clarke)
Subject: Re: Hacked getmail to destroy spam
Date: 1997/12/07
Message-ID: <348b13ea.15008881@news.demon.co.uk>
X-Deja-AN: 296092996
X-NNTP-Posting-Host: plinth.demon.co.uk [158.152.156.4]
References: <348902C7.6990@ponder.demon.co.uk>
Organization: Little
Newsgroups: demon.ip.support.os2