On 25/06/2023 03:39, Jasen Betts via Exim-users wrote:
MAIN_LOCAL_DOMAINS is used to set this domainlist (and not used anywhere else)domainlist local_domains = MAIN_LOCAL_DOMAINS
Further, you could express the lookup as pgsql;select 1 from domains where domain_name = $domain This assumes that only the presence of the domain in the table is what matters, and that the local_domains list is only used for doing that sort of test (which is pretty much all you can do with a domainlist). The advantage is that all the filtering of the table is done by the DB, so comms costs are minimized; likely not an issue for the OP's size of operation but could be a factor for a larger one. -- Cheers, Jeremy -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
