[exim] Re: Debian - dynamic local_domains?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: [exim] Re: Debian - dynamic local_domains?
On 26/06/2023 10:25, Ray O'Donnell via Exim-users wrote:
> This raises a related question - how often will this query get executed? Is it once when the server is restarted, or each time a new client connection begins, or something else altogether?


Exim does run a cache for lookups, but it also re-execs at certain points in processing
(to regain privs, needed eg. for delivery to file) and that loses the cache.
So it's complicated. In general you can't rely on a given lookup being
done only once, or on being done every time.

In practice: within ACL processing, only the first one. Routers and transports,
probably separate.

https://exim.org/exim-html-current/doc/html/spec_html/ch-file_and_database_lookups.html#SECID64
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/