procmail
[Top] [All Lists]

\/ added makes the condition fail

2001-11-22 21:32:20
Hello,

This should be an easy question. I've got the following line:

*$ NSLOOKUP ?? 127\.0\.0\.[2-8]

which works if NSLOOKUP contains 127.0.0.2, for example. But
if I change it to:

*$ NSLOOKUP ?? \/127\.0\.0\.[2-8]

it fails. My understanding of \/ is that it doesn't change
the condition, just merely sets $MATCH according to everything
on the right of it. Do this have something to do with the
sh substitution? The full recipe is:

:0
*$ NSLOOKUP ?? 127\.0\.0\.[2-8]
{ JFMATCH="$JFSEC: Osirusoft: IP $IPEXTERNAL : $MATCH"
INCLUDERC=$JFDIR/junkfilter.match }

just in case extra details are needed.


Thanks in advance,

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