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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Richard F. Rebel
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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