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

Pàgina inicial
Delete this message
Reply to this message
Autor: Alan J. Flavell
Data:  
A: Exim users list
Assumpte: 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