Re: [Exim] missing or misplaced { or } during mysql expansio…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Giles Constant
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] missing or misplaced { or } during mysql expansion
QUOTES!! goddarn QUOTES!

Don't you just hate it when you spend the whole morning looking for something
in the docs and you work out what the answer is about 10 seconds after giving
up and posting a question to the mailing list? :-)

bah.. cheers anyway

On Wednesday 28 January 2004 14:24, Giles Constant wrote:
> Hi there..
>
> any ideas what's wrong with this?:
>
> manually_routed_relay_to_domains:
>   driver = manualroute
>   transport = remote_smtp
>   domains = +relay_to_domains_manual
>   route_list = "* ${sg { ${lookup mysql { \
>                                select fe_relay_host from domains \
>                                where domain = '${quote_mysql:$domain}'  \
>                               } } } {\n} {:} } by_name"

>
> It produces this error:
>
> 8699 LOG: MAIN PANIC
> 8699 failed to expand "${sg" while checking a list: missing or misplaced
> { or }
> 8699 SMTP>> 451 Temporary local problem - please try later
>
> Any help would be great :-)
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##