procmail
[Top] [All Lists]

RBL/RSS/DUL/ORBS listing check inside procmail

2000-11-05 21:00:06
I´m trying to use the qmail Anti-Spam HOWTO recipe <http://www.summersault.com/chris/techno/qmail/qmail-antispam.html#useroptions> 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

Any ideas?

This is the (procmail) recipe:

:0h
TCPREMOTEIP=| rbl/origip.pl
LOG="Remote IP: \"$TCPREMOTEIP\""

:0
* !^From(_dot_)*myfriend(_at_)domain(_dot_)com
* ! ? if [ -n "$TCPREMOTEIP" ]; \
      then /usr/home/hermann/rbl/rblcheck -q "$TCPREMOTEIP"; fi
{
        LOGABSTRACT=all
        LOG="Filter: RBL-filtered address: \"$TCPREMOTEIP\""
        :0:
        $SPAMFOLDER
}

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