On Wed, 12 Feb 2003, Leonardo Boselli wrote:
I'm afraid i don't have Exim 3.x but...
> grouprouter:
> driver=smartuser
> require_files=/var/lib/exim/${lc:$local_part}
> new_address=${lookup mysql{select mailbox from users
> where id={$lc:$local_part}}{$value}fail}
> transport = remote_smtp
> unseen
>
> (the unseen to be passed also to the archiver below)
> Or i guessed wrong ?
probably yes - if this return only one row.
If not then maybe something like:
${tr {${lookup mysql{select mailbox from users
where id={$lc:$local_part}}{$value}fail}}{\n}{,}}
is needed - I'm not sure.
--
Dariusz Sznajder