Re: [exim] Reuse query-type lookup in mutiple options

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter Bowyer
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Reuse query-type lookup in mutiple options
On Mon, 13 Sep 2004 12:35:29 +0200, Hubert Denkmair <hubert@???> wrote:
> Hi everybody,
>
> my name is Hubert and I'm new to this list :-)
>
> Let's get started:
>
> Is there a way to save a query-type lookup to a variable, so that I can
> reuse the results for multiple [router|transport] options?


address_data = <query>
user = ${extract {login}{$address_data}}

The value of $address_data is carried forward to the transport and can
be re-used there.

http://www.exim.org/exim-html-4.40/doc/html/spec_15.html

Peter