Hermann Wecke <procmail(_at_)rodeios(_dot_)com> writes:
I\xB4m trying to use the qmail Anti-Spam HOWTO
recipe
...
to trash senders listed at ORBS/RBL/RSS/DUL...
But I'm receiving this message:
Remote IP: "192.168.209.253"if: Expression Syntax.
Filter: RBL-filtered address: "192.168.209.253"
From hermann(_at_)wecke(_dot_)com Sun Nov 05 21:32:04 2000
Subject: test
Folder: /u2/home/hermann/tmp/spam.20001105.txt
The problem is probably that your login shell is something like csh or
tcsh. By default, procmail uses your login shell to invoke commands.
That'll probably change at some point, but for now you should override
it by putting
SHELL = /bin/sh
at the top of your .procmailrc.
You probably also want to include a newline at the end of the LOG assignments.
One popular trick is to put a newline in a variable NL, and then put $NL
at the end of the LOG assignments:
# At the top of the rcfile
NL = '
'
...
# later on in the rcfile
LOG = "Remote IP: \"$TCPREMOTEIP\"$NL"
You get the idea.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail