RE: [Exim] Stupid extract error?

Top Pagina
Delete this message
Reply to this message
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 :)

Thankyou for your help.