if($mailip eq $internal_net1 || $mailip eq $internal_net2) {

This won't do what you want.  || binds more tightly than eq
so you're effectively saying
$mailip eq ($internal_net1 || $mailip) eq $internal_net2
> ...

Wrong. '||' and 'or' *both* have lower precedence than 'eq', '==', etc.
Please read the man pages before posting.

Regards,
Atanas

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to