RE: [Exim] Stupid extract error?

Góra strony
Delete this message
Reply to this message
Autor: Johansson Jan
Data:  
Dla: 'Phil Pennock'
CC: 'exim-users@exim.org'
Temat: RE: [Exim] Stupid extract error?
>See the two braces at the end?

>> ${extract{name}{lookup mysql{select * from passwd where
>> id='kattis@???'}{$value}}


>See that it's still only two braces at the end?


Yes :)

>If in doubt, count up from zero for each opening braces, and subtract
>one for each closing brace. If you don't finish with the value >'zero'
>then you've got problems.


Adding the missing }'s only results in the expression returning one or more
} as the output, so somehting else must be missing.

>Also, you might want to make sure that you're using the quote_mysql
>expansion operator to construct the id field.


Agreed, but that is a later issue, i am experimenting with "safe" data to
learn the "syntax" of things.. and not r3eally having any luck.