Re: [exim] match_domain won't work in ACL section

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave Evans
Data:  
A: exim-users
Assumpte: Re: [exim] match_domain won't work in ACL section
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