Autor: Remi Cool Data: A: exim-users Assumpte: [exim] Exim and virtual domains via postgres
Hello,
I had it working I think, but an upgrade broke it .... my virtual domains.
I use exim 4.63 on Debian Etch so it's probably a Debian config problem,
but before I take it the wrong way ...
In this case I don't have any fixed local domains, all domains are
registered in a postgres database, as are the local_parts and users. It
would be nice if exim doesn't need a restart when a domain is added or
removed from the database.
The problem I now have is the following (purely debian):
The 'dc_other_hostnames' overrides 'dc_local_domains' or
'dc_local_domains' isn't used at all.
I first had the entry 'pgsql;PG_Q_LOCAL_DOMAINS' at dc_other_hostnames
and that worked fine.
The query :
PG_Q_LOCAL_DOMAINS=SELECT domain FROM PG_T_LOCAL_DOMAINS WHERE
lower(domain)=lower('$domain') AND status=0