Auteur: Johansson Jan Datum: Aan: 'Phil Pennock', 'exim-users@exim.org' Onderwerp: 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 :)