Re: [exim] Pass variable from router to transport

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phil Pennock
Datum:  
To: Christian Gregoire
CC: exim-users
Betreff: 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