Re: [Exim] Reject certain HELO arguments

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Franz Georg Köhler
Date:  
À: exim-users
Sujet: Re: [Exim] Reject certain HELO arguments
On Fr, Mär 12, 2004 at 03:13:03 +0100, Tamas TEVESZ <ice@???> wrote:
> On Fri, 12 Mar 2004, Frank Elsner wrote:
>>> is exim able to reject certain HELO/EHLO arguments?
>>>
>>> Particularly, I don't want my mailserver to talk to hosts that introduce
>>> themselfes as "localhost" or even my mailserver's hostname.
>>
>> Yes, that's possible in the ACLs, but ...
>>
>> > Exim version 3.36 debug level 1 uid=0 gid=0
>>                ^^^^
>> ... not with exim-3. Exim-4 has ACLs.


So what is the exim4-solution?


> i got news for you :), but its... a bit hacky.
>
> turn on receiver_verify, then have a director (at the appropriate
> place, i'd suggest number one) something along the lines of:
>
> driver = smartuser
> condition = ${if eq{$sender_helo_name}{localhost}{yes}{no}}
> new_address = :fail:
>
> this way you can "emulate" even sender_ident checks like in v4's
> connect acl, etc.


The director above doesn't appear to change anything?

> v3 is not dead yet ;>


Is there a tool which would migrate a exim3 config file into exim4
syntax?