[Exim] writing a mysql rewrite rule ???

Pàgina inicial
Delete this message
Reply to this message
Autor: Margrit.Lottmann
Data:  
A: exim-users
Assumpte: [Exim] writing a mysql rewrite rule ???
We are changing our exim Database Lookup from dbm to mysql.

We've already tested mysql lookups in directors/routers and for the
authorization conditions . Also in the expansion part of rewrite rules
it now works right (with help from Mr. Hazel ...Thank You...)

But now I have to change the left part (Pattern) of a rewrite rule to look
for a given domain in a mysql table:

the old pattern part (example):

*@lsearch;TBD/etc/local_domains ....

In the exim book and documentation I can't find an example...

Can I write

*@mysql;local_domains ...

(local_domains the name of the mysql-table....the domain-name is the
primary key )

???



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@???                       |

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