Re: [Exim] quoting on database-lookups

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: robert rotman
Kopio: exim-users
Aihe: Re: [Exim] quoting on database-lookups
On Mon, 15 May 2000, robert rotman wrote:

> my configuration is:
> local_domains = localhost:mysql;select distinct domain
> from mail_adm where domain='${quote_mysql:$key}'


The problem is that : in the middle of your query. It is terminating the
item. Replace it with ::

local_domains = localhost:mysql;select distinct domain \
from mail_adm where domain='${quote_mysql::$key}'

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.