Re: [exim] Transport storing informations

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Transport storing informations
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