Autor: exim Data: A: 'Exim-Users \(E-mail\)' Assumpte: RE: [Exim] assigning variables from pieces of a lookup
> So the question is, how can I assign a value to > transport_home_directory, short of doing another lookup?
Exim caches the last lookup anyway so there wouldn't be that big a loss
from simply running the exact same query again. I think ;) From the
manual...
9.7. Lookup caching
-------------------
An Exim process caches the most recent lookup result on a per-file basis
for single-key lookup types, and keeps the relevant files open. In some
types of configuration this can lead to many files being kept open for
messages with many recipients. To avoid hitting the operating system
limit on the number of simultaneously open files, Exim closes the least
recently used file when it needs to open more files than its own
internal limit, which can be changed via the lookup_open_max option.
For query-style lookups, a single data cache per lookup type is kept.
The files are closed and the caches flushed at strategic points during
delivery - for example, after all routing is complete.