Re: [Exim] Address rewriting

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Vadim Vygonets
Datum:  
To: exim-users
Betreff: Re: [Exim] Address rewriting
Quoth David John SUMMERS on Tue, Nov 16, 1999:
> What I really want is a command that does :-
>
> *@local_domains $1@??? Ffr


Oh. Two things can be proposed:

1. File lookup -- something like:
*@dbm;/var/exim/local_doms        $1@???    Ffr


2. Regexps. See below.

> *@cpt*.dur.ac.uk $1@??? Ffr


Actually, you need to use regexps here.  Something like:
^([^@]+)@cpt[^.]+\.dur\.ac\.uk$        $1@???    Ffr


Vadik.

--
Taunt not the sysadmin, for he can become you and make your life
interesting.