Hi Dave,

2008/6/7 Dave Evans <[EMAIL PROTECTED]>:
> 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.

Thanks, after applying "addresses:" and "domain:" to individual
addresses everything started to work.

> Try also using ${address and ${domain (spec section "Expansion operators").
>
>> How can I see why the matching doesn't work?
>
> Did you try "-d" ?

Yes, I am now using something like

/path/to/exim/binary -bs  -d+all < file-with-smtp-sessions 2> exim-output

to emulate message sending and to see everything that happens.

With all respect,

Konstantin

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