On 2011-07-22 at 18:43 +0200, Hubertus von Fuerstenberg wrote:
> The ldap query for route_data looks up the mailhost and yields either 
> "imap.ise.fraunhofer.de" or "notesmail.ise.fraunhofer.de", so I thought 
> of using route_data in the selection of transport but I always get the 
> error that "route_data" is an unknown variable which is true since it is 
> an option rather than a variable. So my question is: How can I extract 
> the value of route_data an use it in a condition for my ${if} decision?

Repeat the query, perhaps using a macro.  The result of the query should
be cached, so that only one LDAP lookup will be done.  Use { exim -d }
to verify this.

-Phil

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to