Re: [exim] re-use looked up data in a router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] re-use looked up data in a router
On 04/12/17 14:27, Maarten van Baarsel wrote:
> But I'm stumped for a variable that has the value from the query in it
> and I'd like to not do the query again. I'm reading the documentation as
> we speak but as you hopefully can imagine 'data' is not a very useful
> word to be searching for.



Using the address_data option on the router to do the expansion
and $address_data for later referral to the result is one way.

Mind, although it looks messy repeating the query, lookups are
cached anyway - so repeating one often isn't as expensive as
you might expect.
--
Cheers,
jeremy