RE: [Exim] Translating Sendmail....

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Kevin Reed
CC: exim-users
New-Topics: [Exim] Small error in Exim filter documentation
Subject: RE: [Exim] Translating Sendmail....
On Tue, 29 Jul 2003, Kevin Reed wrote:

> > > So the address which came in like
> > username@??? to the
> > > mail host called mailhost.domain.name sends the message out to the
> > > destination as username@???@mailhost.domain.name


> How would I attempt to get the result as
> "username@??? then?


Use this router:

xxxx:
driver = redirect
domains = attfax.domain.name
data = "\"$local_part@$domain\"@mailhost.domain.name"

Then ensure that the domain mailhost.domain.name routes to wherever you
want it to.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book