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