Re: [Exim] rewrite rule and mysql

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Metzler
Datum:  
To: exim-users
Betreff: Re: [Exim] rewrite rule and mysql
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}"
              cu andreas