RE: [Exim] Translating Sendmail....

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Kevin Reed
CC: exim-users
Temas novos: [Exim] Small error in Exim filter documentation
Asunto: 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