[Mimedefang] RelayAddr

Nels Lindquist nlindq at maei.ca
Fri Sep 20 16:13:01 EDT 2002


On 20 Sep 2002 at 13:00, Ashley M. Kirchner wrote:

>     I have this piece in my 'sub filter_begin()' part:
> 
> $LocalNetworks = [IPs blanked out];
> 
> sub filter_begin () {
>     # If the message came from localhost, let it through without checking
>     if ($RelayAddr =~ /^(127.0.0.1|$LocalNetworks)/o) {

<INIGO>
I do not think this regular expression means what you think it means.
</INIGO>

Remember that "." (dot) is a special character in perl regexps.  I 
think you mean 127\.0\.0\.1.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.




More information about the MIMEDefang mailing list