Autor: robert rotman Data: A: Philip Hazel CC: exim-users Assumpte: Re: [Exim] quoting on database-lookups
On Sun, 14 May 2000, Philip Hazel wrote:
> On Fri, 12 May 2000, robert rotman wrote:
>
> > i want to qoute a lookup like:
> >
> > mysql;select distinct domain from domaintable where domain='$key'
> >
> > when i use ${quote_mysql:$key}, the key references to "${quote_mysql".
>
> That should work (assuming you are using Exim 3.10 or later). What is
> your exact configuration setting?
>
i use exim 3.10,
my configuration is:
local_domains = localhost:mysql;select distinct domain
from mail_adm where domain='${quote_mysql:$key}'
the error message is:
failed to expand mysql query select distinct domain from mail_adm where
domain='${quote_mysql: "${quote_mysql" unrecognized