Re: [Exim] rewrite rule and mysql

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Laurent Luyckx
Data:  
Para: exim-users
Asunto: Re: [Exim] rewrite rule and mysql
Le jeu 12/02/2004 à 11:58, Andreas Metzler a écrit :
> On Thu, Feb 12, 2004 at 11:43:30AM +0100, Laurent Luyckx wrote:
> > I'm trying to use mysql on rewrite rules like this:
> >
> > *@domain.com    ${lookup mysql{select alias from exim where
> > user='$1'}{$value}fail}        tT

> >
> > exim is complaining with this error:
> >
> > "unknown rewrite flag character 'm' (could be missing quotes round
> > replacement item)"
> >
> > I really don't find which quotes is missing.
>
> The ones around the "replacement item". A rewriting rule consust of
> three _space_ separated values: patter, replacement and flages.
> "${lookup...fail}"


That's it.

Thanks andreas!

>               cu andreas

>


Laurent.
--
"Free software is a gift. It exists through the generous contributions
of programmers and those who support them."