[exim] Re: Debian - dynamic local_domains?

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: [exim] Re: Debian - dynamic local_domains?
On 24/06/2023 20:40, Ray O'Donnell via Exim-users wrote:
> dc_other_hostnames=${lookup pgsql{select domain_name from domains }}


How does that end up in the eventual exim config?


> MAIN_LOCAL_MACROS = ${lookup pgsql{select domain_name from domains }}


What will that lookup return; is it legal syntax for the uses
made of the macro? Indeed, *how* is that macro used?

This is all down to the config used, and (in case you can't tell)
I'm not a Debian user. Exim can certainly do what you want; the
question is how well it mixes with the Debian wizard-generated
configuration.

As far as Exim's facilities and the config syntax goes: the docs
are on the web at exim.org.
--
Cheers,
Jeremy


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