Re: [Exim] Blocking sobig.f

Top Page
Delete this message
Reply to this message
Author: Harald Meland
Date:  
To: exim-users
Subject: Re: [Exim] Blocking sobig.f
[Philip Hazel]

> On Thu, 21 Aug 2003, Harald Meland wrote:
>
>> If I've understood RFC 2821 correctly, it says that the HELO/EHLO
>> argument must be either a FQDN or an address literal -- and hence must
>> include at least one dot.
>
> Unless it is an IPv6 address literal...


Yup -- but I guess I won't have to deal with that until my mail
servers get IPV6 enabled.

Anyway, it should be easy -- change

          condition     = ${if match {$sender_helo_name}{\\.} {no}{yes}}


to

          condition     = ${if match {$sender_helo_name}{[.:]} {no}{yes}}


(for bonus points, one could hack the regexp so that it only accepts
':' if the rest of $sender_helo_name actually looks like an IPV6
address literal)
--
Harald