Re: [Exim] Address rewriting

Top Page
Delete this message
Reply to this message
Author: Vadim Vygonets
Date:  
To: exim-users
Subject: 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.