[Mimedefang] Non-routable addresses in HELO

Jim McCullars jim at info.uah.edu
Tue Jul 11 10:40:34 EDT 2006



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





More information about the MIMEDefang mailing list