Re: [exim] Router-question

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: Johann Spies, exim-users
Temat: Re: [exim] Router-question
On 2008-04-18 at 12:30 +0200, Johann Spies wrote:
> In my test setup in acl_check_rcpt I have:
>
> require recipients = message Unknown recipient
>              dbm;/tmp/ad.db


The ACL shouldn't need to care about where, internally, the mail is sent
to. It should just verify that it can be delivered.

> active_directory_user:
> driver = manualroute
> domains = mrc.ac.za
> #condition = ${lookup{$local_part@$domain}dbm;/tmp/ad.db}{yes}{no}
> condition = ${lookup{$local_part@$domain}lsearch{/tmp/ad_email_sort.txt}}
> transport = remote_smtp
> route_list = * 172.18.5.18


How about:

active_directory_user:
driver = manualroute
domains = mrc.ac.za
local_parts = dbm;/tmp/ad.db
transport = remote_smtp
route_data = 172.18.5.18

?

See also "9.3 Single-key lookup types" for an explanation of "dbm" vs
"dbmnz".

-Phil