Re: [exim] Pass variable from router to transport

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Phil Pennock
日付:  
To: Christian Gregoire
CC: exim-users
題目: Re: [exim] Pass variable from router to transport
On 2010-02-22 at 18:00 +0000, Christian Gregoire wrote:
> Can the resulting value of a database lookup in a router condition directive be passed to the transport ?


Yes.

router_foo:
address_data = WHATEVER

transport_baz:
hosts = $address_data

While the cachability of results is discarded before starting
transports, you should be okay with the same query twice in one Router.
Run exim with debugging (-d+lookup) to confirm this.

Regards,
-Phil