procmail
[Top] [All Lists]

Re: using a blacklist file to stop some spam

2002-02-12 05:22:28
In the previous episode (12.02.2002, 13:10:35), Manuel Hendel
<Manuel(_dot_)Hendel(_at_)easygolucky(_dot_)de> said:

I go the following in my .procmailrc:

****
BLACKLIST=$PROCMAILDIR/blacklist

:0 Wi
| (formail -x from: -x sender: -x to: | grep -iq -f $BLACKLIST)
$MAILDIR/mail-blacklist
****

try this:

:0:
* ? test -f ${BLACKLIST} && (formail -zxFrom: -zxReply-To: | egrep -i -f
${BLACKLIST})
$MAILDIR/mail-blacklist

regards,

wolfgang

_______________________________________________
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>