[exim] mysql lookups i rewrite rules

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Margrit Lottmann
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] mysql lookups i rewrite rules
We are "now" using exim 4.52!!!

*@${lookup mysql{select domain from local_domains where
domain='${quote_mysql:$domain}'}{$value}fail} \
"${lookup mysql{select main_addr from synonyms where
syn_addr='${quote_mysql:$local_part@$domain}'}{$value}fail}" Fftq

(1 rule line)


This rule has to rewrite all addresses where the domain will be found in
the local_domains table by using the synonyms table to get the address to
which to rewrite

It doesn't work...

2005-08-17 15:52:42 Exim configuration error in line 588 of
/adm/mailadm/etc/configure:
unknown rewrite flag character 'd' (could be missing quotes round
replacement item)

In previous exim versions a sql-lookup at the left part of a rewrite rule
wasn't allowed. Mr. Hazel said that "now" it may be ... !!! ??? ...

Where is my mistake ???
--

Mit freundlichen Gruessen
M.Lottmann

 Otto - von - Guericke  Universitaet      __  __   ____ _____         _   __
               Magdeburg                 / / / /  / __ \__  /        / | / /
 ------------------------------------   / / / /  / /_/ / / / ______ /  |/ /
           Margrit Lottmann            / /_/ /  / _, _/ / /_______// /|  /
       Universitaetsrechenzentrum      \____/  /_/ |_| /____/     /_/ |_/
         Netze & Kommunikation