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

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to