Re: [Exim] Blocking sobig.f

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Harald Meland
Date:  
À: exim-users
Sujet: 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