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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Konstantin Boyandin
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] match_domain won't work in ACL section
Hi Dave,

2008/6/7 Dave Evans <exim-users-20080324@???>:
> 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