Re: [Exim] No search in domainlist after ::

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
Subject: Re: [Exim] No search in domainlist after ::
Thomas Mueller wrote:
> Hi,
>
> Exim 4.31 doesn't continue searching in a domainlist after '::'.
>
> domainlist local_domains = @:localhost:${lookup pgsql{SELECT DISTINCT
> name FROM domains WHERE name='${quote_pgsql:$domain}'}}:${lookup
> pgsql{SELECT
> DISTINCT name FROM records WHERE name='${quote_pgsql:$domain}'}}


I can't believe this - the same question 3 times in a week :-)

You don't use ${lookup in a domainlist, you use something like this:-

domainlist local_domains = @ : localhost : pgsql;SELECT DISTINCT.....

The ${lookup returns newline-terminated strings which don't work in a
domainlist.

Peter