Re: [EXIM] rewite-rules

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Frank Elsner
Data:  
Para: Margrit Loebner
CC: exim-users
Assunto: Re: [EXIM] rewite-rules
On Wed, 18 Nov 1998 10:45:12 +0100 Margrit Loebner wrote:
> I want to use rewrite rules to change
> addresses of certain hosts/domains , for which our exim will work
> as mailrelay to route all emails to the given destination address.


I do it the following way:

Main configuration file contains rewrite rule
                                 ------------


*@* ${lookup{$1@$2}dbm{/opt/exim/dbm/rewrite/addresses}{$value}fail} Fh

and the textual file contains

elsn4000@???: Elsner@???

This worked pefectly for me.

Gruß           _______________________________________________________________ 
Frank Elsner  /                           c/o  Technische Universitaet Berlin |
 ____________/                                 ZRZ, Sekr. E-N 50              |

|                                              Einsteinufer 17                |

|Voice: +49 30 314 23897                       D-10587 Berlin                 |
|SMTP : Elsner@???                        Germany                |
|X400 : /S=Elsner/OU=zrz/P=TU-Berlin/A=d400/C=de/            _________________|
|____________________________________________________________| Ich habe fertig 



--
*** Exim information can be found at http://www.exim.org/ ***