Re: [exim] Includecontent not updated

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Includecontent not updated
On 31/05/2020 00:34, Cyborg via Exim-users wrote:
> .include_if_exists /etc/exim/forwarder_dl.conf
>
> it contains a domainlist :
>
> domainlist local_domains = @ : localhost : localhost.localdomain : <SQL
> QUERY >
>
> Is there any particular reason, why the content of domainlist is only
> loaded once after server restart and not on every email handled,
> as it should?


The config file, and any includes, are only loaded when an exim process
starts up. For messages received by processes forked from a daemon,
the usual way of handling SMTP reception, that means when the daemon
is started (or restarted, or told to reload).

You can get per-use updates by using a filename as the list (or part of
the list). See

http://exim.org/exim-html-current/doc/html/spec_html/ch-domain_host_address_and_local_part_lists.html#SECTfilnamlis

Obviously there is a performance cost to doing that.
--
Cheers,
Jeremy