[Exim] rewrite rules with mysql

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Margrit.Lottmann
Dátum:  
Címzett: exim-users
Tárgy: [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@???                       |

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