Re: [exim] $domain_data not populated, caching problem?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] $domain_data not populated, caching problem?
On 09/04/2022 22:42, Jesse Hathaway via Exim-users wrote:
> Ah, that makes sense, and was part of my confusion, local_domains is defined as:
>
> domainlist system_domains = @
> domainlist local_domains = +system_domains : +wikimedia_domains :
> +legacy_mailman_domains : +verp_domains
> domainlist wikimedia_domains = lsearch;CONFDIR/wikimedia_domains
> domainlist verp_domains = wikimedia.org
> domainlist relay_domains = +wikimedia_domains
>
> I assumed that with a domainlist, the value would also be the key. So
> what should I
> use in this case, instead of $domain_data?


$domain_data is the thing to be using, but with a local_domains having
that many different sorts of elements you may be needing to run a
more-recent version of Exim. There have been relatively recent
updates providing the facilities needed across the various types
of element, and 4.94 may well be too old.

I see types "@", "lsearch", "literal" at least -
and something undefined "legacy_mailman_domains".

Check the documentation for 4.94 for each of those types against
4.95 (and, possibly, against the current git master).
Chapter 10 is a good place to start.
--
Cheers,
Jeremy