On Sat, 2004-10-02 at 16:35, J.D. Bronson wrote:
>      if ($RelayAddr =~ "^192\.168\.1" or "^127\.0\.0\.1") {

Try this instead:
if ($RelayAddr =~ "^192\.168\.1" or $RelayAddr eq "127.0.0.1") {

The error is that "or" binds two conditional statements. In your
example, it was seeing this as:

statement 1: $RelayAddr =~ "^192\.168\.1"
OR
statement 2: "^127\.0\.0\.1"

Richard

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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