Re: [exim] Pass variable from router to transport

Inizio della pagina
Delete this message
Reply to this message
Autore: Phil Pennock
Data:  
To: Christian Gregoire
CC: exim-users
Oggetto: 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