Article View: demon.ip.developers
Article #992Re: KA9Q mailkill files revisited
From: Colin Spensley
Date: Wed, 22 May 1996 00:00
Date: Wed, 22 May 1996 00:00
33 lines
1499 bytes
1499 bytes
In article <832539680snz@pcserv.demon.co.uk> [Sun, 19 May 96 21:01:20 GMT], Paul Carpenter says... >I know I have mentioned this before, but due to the large amount of junk >email I am currently receiving from US sites, PLEASE, PLEASE, PLEASE >can we have '*' wildcards in mail kill files??? This is a trivial source code change; it has been posted several times over the years (by me and others). KA9Q4NT included it two and a half years ago. I'm amazed it hasn't yet made it into the standard (Demon) source code. Anyway, digging deep into the archive :-) ... In the file SMTPSERV.C, in the function validate_sender(), replace if (!stricmp (p, sender)) with if (wildmat(sender, p, NULLCHARP)) and bingo! -- ----------------------------------------------------------------------- Colin Spensley <colin@alecto.demon.co.uk> <http://ourworld.compuserve.com/homepages/alecto> -----------------------------------------------------------------------
Technical Details
Message-ID:
<5167cc$16222b.131@news.alecto.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<832539680snz@pcserv.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,30f5abe9d8c5c111 X-Google-Attributes: gid10bb05,public From: colin@alecto.demon.co.uk (Colin Spensley) Subject: Re: KA9Q mailkill files revisited Date: 1996/05/22 Message-ID: <5167cc$16222b.131@news.alecto.demon.co.uk> X-Deja-AN: 156261963 x-nntp-posting-host: alecto.demon.co.uk references: <832539680snz@pcserv.demon.co.uk> content-type: Text/Plain; charset=US-ASCII mime-version: 1.0 newsgroups: demon.ip.developers