On 11/07/13 16:12, Cyborg wrote:
is it possible to have an sql select inside a transport who queries
informations and stores them in reusabel variables ..

i.e.
     ..
     var_x = $lockup{select id from mailboxes where localpart='$localpart'}
     transport_filter = 'filterfile' '$localpart@$domain' '$var_x'
     ...

Currently no.   For the example you show you're only using once so
could have just put the lookup in the transport_filter line.

Note that lookups are cached, so the overhead is small for just
repeating one.
--
Cheers,
   Jeremy



--
## 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