Re: [Exim] rewriting domain and adding X-header

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nico Erfurth
Päiväys:  
Vastaanottaja: john
Kopio: exim-users
Aihe: Re: [Exim] rewriting domain and adding X-header
John Ward wrote:
> Hi,
> I'm currently trying to rewrite user@dom1 to user@dom2
> however, i wish to use *@dom1 to *@dom2
> If this is successfull, i wish to insert an X-header to tell the user in his
> outlook client that he needs to inform the user of his change in email addy.
>
> Any ideas ?


Exim 0?
Exim 1?
Exim 2?
Exim 3?
Exim 4?
or maybe Exim 5?

:)

Your user will never read an X-Header, but he should see the real To:
address in the MTA.

but if you want, use this (for exim 4)

moved_domains:
driver = redirect
domains = dom1
headers_add = X-Header: User Info
data = $local_part@dom2

Nico