Re: [exim] ACL Question

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: Joe Doehler
CC: exim-users
Assumpte: Re: [exim] ACL Question
On 2009-11-18 at 23:40 -0500, Joe Doehler wrote:
> Phil Pennock wrote:
> ...
> > Try:
> >
>  > deny    message   = Some message
>  >         condition = 
> ${match_domain{$sender_address_domain}{+local_domains}}
>  >         hosts     = !+relay_from_hosts

> >
> ...
>
> Thanks for your reply.
>
> I get this error message from Exim:
> "${match_domain" is not a known operator
>
> I am working with Exim 4.69. This is puzzling, as the "match_domain"
> operator appears to have been there even in earlier versions.


Sorry, my mistake (hastiness): match_domain is an expansion condition.
It needs to be after an if (or within the branches of and/or).

condition = ${if match_domain{$sender_address_domain}{+local_domains}}

-Phil