procmail
[Top] [All Lists]

What am I missing

1999-03-31 17:56:40
This is a procmail recipe that I am working on:

TCPREMOTEIP=`cat $1 | origip.pl`

:0
* ! ? if [ -n "$TCPREMOTEIP" ]; then rblcheck -q "$TCPREMOTEIP"; fi{
        EXITCODE=0      # Not Sure what to have here
        LOGABSTRACT=all
        LOG="Filter: RBL-filtered address: \"$TCPREMOTEIP\"
"
        :0 :
        |formail -i "X-RBL-Filtered-Address: $TCPREMOTEIP" >> $FILTER_FOLDER
}

What happens is rblcheck checks remoteip and then if it is listed I want
to move the message to a Mailfolder specifically for or SUSPECTED SPAM. 
If it is not listed I want it to remain for normal reading. What I am 
getting now is either <With Tweaking> either **Bounced** in the log and 
no sign of the message or all messages goto the Folder of SUSPECTED SPAM.

Anyone have any ideas or corrections for me. The system is running sendmail.

TIA
Ron
-- 
-------------------------------------------------------------------
Ron Rosson                      ... and a UNIX user said ...
The InSaNe One                             rm -rf *
insane(_at_)oneinsane(_dot_)net         and all was null and void
-------------------------------------------------------------------
"If you understand what you're doing, you're not learning anything."
                -- A. L.

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