On Tue, 11 Jul 2006, Steffen Kaiser wrote:
> On Mon, 10 Jul 2006, Jim McCullars wrote:
>
> > I just reject when someone sends an IP address as a HELO, and it is not
> > their actual IP address. In filter_sender():
> >
> > if ($helo =~ /^\d+\.\d+\.\d+\.\d+$/) { # looks like an IP
>
> Shouldn't you optionally allow square brackets? As they are required by
> both RFCs for address literals.
Well, if you look at it in the context of the test being bypassed if
they do include square brackets, then they are already "allowed". But
yes, the test should probably be changed to check for them.
Jim McCullars
University of Alabama in Huntsville
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang