procmail
[Top] [All Lists]

RE: What am I missing

1999-03-31 23:24:54
I think maybe 

:0 fhw

at the beginning would work. Thats what I use for recipes similar to yours.
 
On 01-Apr-99 Ron 'The InSaNe One' Rosson wrote:
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.



--] jonathan(_at_)leto(_dot_)net [--
--] www.leto.net      [--
--] 01-Apr-99 01:05:55[--


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