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.

Bye,

--
Steffen Kaiser
_______________________________________________
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

Reply via email to