[exim] Re: Debian - dynamic local_domains?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Ray O'Donnell
Ημερομηνία:  
Προς: Jeremy Harris, exim-users
Αντικείμενο: [exim] Re: Debian - dynamic local_domains?
On 26/06/2023 10:52, Jeremy Harris via Exim-users wrote:
> 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


Noted - thanks again to everyone for the help.

Ray.


--
Raymond O'Donnell // Galway // Ireland
ray@???


--
## 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/