RE: [Exim] Translating Sendmail....

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Kevin Reed
CC: exim-users
Assumptes nous: [Exim] Small error in Exim filter documentation
Assumpte: 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