procmail
[Top] [All Lists]

Re: rblcheck rule for procmail

2014-06-07 09:54:57

On 07 Jun 2014, at 00:24 , Bernard Schoenacker 
<bernard(_dot_)schoenacker(_at_)free(_dot_)fr> wrote:

hi, 


i seek one procmail rule bether as this :

 :0
   TCPREMOTEIP=`origip || echo 127.0.0.1`
 * ! ? if [ -n "$TCPREMOTEIP" ]; then rblcheck -q "$TCPREMOTEIP"; fi

Doing RBL checks in procmail is really a waste of time. You want them done at 
the SMTP transaction phase.

Once again, you have given us very little to go on, but this looks functional. 
If you expect it to be *fast* that is not going to happen. Of course, you have 
to be sure to get the RIGHT IP address from the headers, and that is going to 
be tricky as there are different forms that Received: header can take.


-- 
'Oh, them as makes the endings don't get them,' said Granny. --Maskerade


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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