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

Góra strony
Delete this message
Reply to this message
Autor: Richard F. Rebel
Data:  
Dla: exim-users
Temat: [Exim] Exim4 and MySQL lookups in rewrite gives unknown rewrite flag character 'm']

Hello,

I know these rules arent right yet but I am getting some errors as
follows:

When given the following:

^(.*)@(.*)$     ${lookup mysql{select dst_uri from redirects where
uri_scheme_path='${quote_mysql:$0@$1}'}{$value}{$0@$1}}      ST


I get:

unknown rewrite flag character 'm'

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


I get:

$ not followed by letter, digit, or {

I am missing someting here.

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

Any clues?

Thanks!

Richard