[Exim] rewrite rules with mysql

Top Page
Delete this message
Reply to this message
Author: Margrit.Lottmann
Date:  
To: exim-users
Subject: [Exim] rewrite rules with mysql
I've attampted following rule:

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

I hope, You can read the whole line !

exim dididn't start ...unknown (o) flag... (panic-file)

with the old form

*@lsearch;TBD/etc/local_domains ....    the rule works right!


???
(Is there any quotation still nessessary ???)

MfG Margrit Lottmann


+-----------------------------------------------------------------------+
  |                                             phone : +49 391 67  18572 |

  |                            +49 391 67  12819 |

  |              Margrit Lottmann                 fax : +49 391 67  11134 |
  |                                                                       |
  | Otto-von-Guericke-Universitaet Magdeburg                              |
  | Universitaetsrechenzentrum, URZ-N                                     |
  | Universitaetsplatz 2                                                  |
  | D-39106 Magdeburg,  Germany                                           |
  |                                                                       |
  |              Margrit.Lottmann@???                       |

+-----------------------------------------------------------------------+