Re: [Exim] rewrite

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Vadim Vygonets
日付:  
To: exim-users
題目: Re: [Exim] rewrite
Quoth Andreas Gietl on Mon, Jul 31, 2000:
> i want to rewrite the domain of an incoming mail to another domain, that
> has to be looked up via lsearch from an alias file and want the incoming
> mail to be reprocessed and delivered to the new domain.


What alias file?

> olddomain1.de newdomain1.de
> olddomain2.de newdomain2.de
>
> so if a mail for test@??? comes in i want it to be rewritten
> and finally delivered to newdomain1.de


Alright... Define "old" domains as your local domains. Use a
smartuser director (let's say the file is called domaindb):

# Untested!
domain_change:
driver = smartuser
domains = lsearch;/var/exim/domaindb
new_address = $loacl_part@$domain_data
no_more

> any ideas?


No.

Vadik.

--
When in doubt, be yourself. And if that fails, su root.