Re: [Exim] Problem lookup mysql expansion

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Steffen Herold
Data:  
Para: Philip Hazel, exim-users
Asunto: Re: [Exim] Problem lookup mysql expansion
I just still tried Philips patch. And it seems to be good. Yes it works
fine.

Thanks Steffen


Philip Hazel wrote:

> On Fri, 7 Dec 2001, Steffen Herold wrote:
>
>
>>routelist_item = gmx.de "${lookup mysql {SELECT mx FROM routing WHERE
>>domain LIKE '${quote_mysql:$domain}'}{$value}}" byname
>>after handling route_lists items, matched = 1
>>original hostlist=${lookup mysql {SELECT mx FROM routing WHERE domain
>>LIKE options=${quote_mysql:$domain}'}{$value}}" byname
>>dom_router router: error for gmx.de
>>
>>    message: dom_router router: failed to expand "${lookup mysql {SELECT
>>mx FROM routing WHERE domain LIKE ": missing } at end of string

>>
>
> Hmm. For some reason it seems to have broken the quoted item at the
> single quote. Notice the curtailed string it claims to be expanding.
>
> AARRGGHH!! It's a bug. Gosh, I wonder why nobody noticed that one
> before? It's an elementary howler. I must have had a really bad day.
>
> Below is a very hacky patch (untested) that might fix it. No time to do
> a proper job ... I'm off for the weekend.
>
>



--
-------------------------------------------------
Steffen Herold            IN-Systeme
steffen.herold@???
Curiestr. 2
                70563 Stuttgart