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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Alan J. Flavell
Fecha:  
A: Exim users list
Asunto: Re: [Exim] Feature request: 'sender_helo_name' ACL condition
On Fri, 5 Mar 2004, Tor Slettnes wrote:

> Currently, one can do the following (as I do):

[...]
>               condition = ${if eq
> {$sender_helo_name}{$primary_hostname}{yes}{no}}


Correct me if I'm wrong, but I suspect that's a case-sensitive
comparison. You might want to ${lc:$sender_helo_name} , 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'...)


We've got a rather clumsy regex in an ${if match ...} condition.

cheers