Re: [Exim] rewrite rule and mysql

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Laurent Luyckx
Date:  
À: exim-users
Sujet: 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."