procmail
[Top] [All Lists]

problems with receipe - I always get Non-zero exitcode (1) from " test -f $BLACKLIST && $FORMAIL -zxFrom: -zxReply-To: | egrep -i -f $BLACKLIST"

2002-02-27 01:44:11
I got the following receipe in my .procmailrc to avoid getting mail
from some special Spam domains:

BLACKLIST=~/.procmail/blacklist

blacklist:
domain.xy

:0:
* ? test -f $BLACKLIST && $FORMAIL -zxFrom: -zxReply-To: | egrep -i -f
* $BLACKLIST
$MAILDIR/mail-blacklist

Logs:
procmail: Executing " test -f $BLACKLIST && $FORMAIL -zxFrom:
-zxReply-To: | egrep -i -f $BLACKLIST"
procmail: Non-zero exitcode (1) from " test -f $BLACKLIST && $FORMAIL
-zxFrom: -zxReply-To: | egrep -i -f $BLACKLIST"
procmail: No match on " test -f $BLACKLIST && $FORMAIL -zxFrom:
-zxReply-To: | egrep -i -f $BLACKLIST"

Does anyone know what's wrong here?

Thanks, 
    Manuel


-- 
A liberal is a man or a woman or a child who looks forward to a better day, a 
more tranquil night, and a bright, infinite future. 
-Leonard Bernstein, "The New York Times", Oct. 30, 1988 
(contributed by Chris Johnston) 
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail