On Fri, Jun 06, 2008 at 11:16:42PM +0700, Konstantin Boyandin wrote:
>           condition  = ${if
> match_domain{$header_to:}{/etc/exim/acl/a:/etc/exim/acl/b}}
> 
> What is wrong with match_domain condition?

match_domain is for matching domains (of course).  You're passing in an
arbitrary sequence of characters (the entire "To" header), not a domain.

Try also using ${address and ${domain (spec section "Expansion operators").

> How can I see why the matching doesn't work?

Did you try "-d" ?

-- 
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey

Attachment: signature.asc
Description: Digital signature

-- 
## 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