Re: [Exim] Exim4 and MySQL lookups in rewrite gives unknown …

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Richard F. Rebel
Kopio: exim-users
Aihe: Re: [Exim] Exim4 and MySQL lookups in rewrite gives unknown rewrite flag character 'm']
On Thu, 14 Mar 2002, Richard F. Rebel wrote:

> When I put the replacment in quotes:
>
> "^(.*)@(.*)$     ${lookup mysql{select dst_uri from redirects where
> uri_scheme_path='${quote_mysql:$0@$1}'}{$value}{$0@$1}}"      ST


But you didn't put the replacement in quotes. You put the pattern and
the replacement in quotes.

Try putting just the replacement in quotes.

> Actually when I type in exact verbatim entries in the exim book, I get
> errors as well.


Thanks for pointing that out. I'll take a look (I've started work on the
2nd edition).

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.