RE: [Exim] Stupid extract error?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Johansson Jan
Fecha:  
A: 'Phil Pennock', 'exim-users@exim.org'
Asunto: RE: [Exim] Stupid extract error?
>You still need "${lookup ... }". What does this:
> ${extract{name}{${lookup mysql{select * from passwd where
> id='kattis@???'}{$value}}}}
>give?


> ${extract{name}{${lookup mysql{select * from passwd where

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

id='kattis@???'}{$value}}}}
/var/spool/vmail/kattis.skyddsrummet.net
>


Seems to work just dandy now, i guess one of the {} pair was simply
missplaced.


>Hint: if MySQL is causing problems, try something simpler. Eg, a
>one-record CDB database. Or a flat key-value file, even.


Yes, but that would sort of ruin the idea with my current endavour :)

Thankyou for your help.