procmail
[Top] [All Lists]

Re: Spam filter, anything ready?

1996-02-29 21:40:21
On Thu, 29 Feb 1996 16:07:25 +0200, Era Eriksson 
<reriksso(_at_)cc(_dot_)helsinki(_dot_)fi> said:

EE> While I'm preparing myself for learning to write recipes using the
EE> scoring mechanism, I'd like to know if somebody else has already
EE> developed some kind of anti-spam recipe & scripts package I can
EE> use.  I'm interested in (a) a way to automatically return the
EE> message if my recipe rejects it as spam, with a decorative header
EE> stating, in polite terms, what's going on (in case the filter
EE> misfires), and (b) good examples of working scored recipes.  I'm
EE> sure I'm not alone in the world with this. Anybody?

        OK, here's my automagic spam fryer:

.procmailrc:
:0
* (^From|^Sender).*( 
|<)((autoemail|ibb|telmail)@|info(_at_)(_dot_)*(slip.net|telegrafix.com|webular.com)|fred(_at_)(_dot_)*fincon(_dot_)com|mail(_at_)(_dot_)*ppgsoft(_dot_)com|72124(_dot_)3234(_at_)compuserve(_dot_)com)
{
  :0 Whc: spammail.lock
  |formail -rD 20480 spammail.cache

  :0 ahc
  |(formail -ri "BCC: stend" -i "Return-Receipt-To: 
stend(_at_)grendel(_dot_)texas(_dot_)net" ; cat ~/.proofread ~/.signature) | 
$SENDMAIL -oi -t

  :0 Ehc
  |(formail -ri "BCC: stend" -i "Return-Receipt-To: 
stend(_at_)grendel(_dot_)texas(_dot_)net" ; cat ~/.proofread.warn ~/.signature) 
| $SENDMAIL -oi -t
}

:0 A:
mail.misc.junk.spool

.proofread.warn:
I do not wish to receive unsolicited email advertisements.  Any
advertisements received will be proofread for a US$100/page fee.
Sending an unsolicited email advertisement to this address after this
time will be considered acceptance of these terms.

Note: This message is automatically generated.  If your email was not
advertising, you will not be charged.  If you believe that you have
been unfairly added to my list of junk email spammers, feel free to
tell your reasons for this belief.
-- 

.proofread:
Thank you.  Your advertisement has been received and will be
proofread shortly.  Your bill for this service is US$100/page.

Note: This message is automatically generated.  If your email was not
advertising, you will not be charged.  If you believe that you have
been unfairly added to my list of junk email spammers, feel free to
tell your reasons for this belief.
-- 

        Since doing this, noone has sent me two email ads. (;


-- 
#include <disclaimer.h>                               /* Sten Drescher */
Unsolicited email advertisements will be proofread for a US$100/page fee.

<Prev in Thread] Current Thread [Next in Thread>