[Mimedefang] Non-routable addresses in HELO
Steffen Kaiser
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Tue Jul 11 03:31:39 EDT 2006
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
More information about the MIMEDefang
mailing list