Re: [exim] Includecontent not updated

Top Page

Reply to this message
Author: Jeremy Harris
To: exim-users
Subject: 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
> 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

Obviously there is a performance cost to doing that.