RE: [Exim] Translating Sendmail....

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Kevin Reed
CC: exim-users
Új témák: [Exim] Small error in Exim filter documentation
Tárgy: 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