procmail
[Top] [All Lists]

Re: Simple Killfile Recipe?

2002-01-04 19:41:23
Does anyone know where I can find a simple procmail recipe for
killfiling people? Something that lets me have rules like this:

if "From: *korcin.com" then reject saying "Jonathan Lee
<webmaster(_at_)korcin(_dot_)com> is a spammer"

Don't bother replying, it just tells them that your address works.

Instead, bounce with EXITCODE

:0
* ^From:(_dot_)*(_at_)korcin\(_dot_)com
{ EXITCODE=67 }
 
if "Return-Path: *.j2.com" then discard silently

:0
* ^Return-Path:.*\.j2\.com
/dev/null
 

If "From: cpa(_at_)optmails(_dot_)com" then reject saying 
"cpa(_at_)optmails(_dot_)com is an
opt-out spammer, can't unsubscribe"

Use the same exitcode recipe above, extend it:

:0
* ^From:.*(@korcin\.com|cpa(_at_)optmails\(_dot_)com)
{ EXITCODE=67 }

TjL



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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