Re: [Exim] Feature request: 'sender_helo_name' ACL condition

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tabor J. Wells
Fecha:  
A: Tor Slettnes
Cc: exim-users
Asunto: Re: [Exim] Feature request: 'sender_helo_name' ACL condition
On Fri, Mar 05, 2004 at 09:54:06AM -0800,
Tor Slettnes <tor@???> is thought to have said:

> Currently, one can do the following (as I do):
>
>      acl_check_helo:
>           accept hosts  = : +relay_from_hosts

>
>           deny message  = Give me your name, not an IP address
>               condition = ${if isip {$sender_helo_name}{yes}{no}}

>
>           deny message  = Go away, impostor!
>               condition = ${if eq
> {$sender_helo_name}{$primary_hostname}{yes}{no}}

>
>
> However, this only catches the primary host name (in my case,
> 'net.slett.net'), not the domains for which the machine is configured
> to handle mail ('slett.net'...)
>
>
> Good? Bad? Ugly?
> I would not mind writing a patch to accomplish this, if noone else
> wants to and noone thinks it is not a good idea. (How's that for
> triple negatives? :)


Without actually having tried it, is there any reason why you can't use
${lookup to check $sender_helo_name against a file containing all of those
domains?

--
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality