Re: [Exim] Address rewriting

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Vadim Vygonets
日付:  
To: exim-users
題目: 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.