Re: [EXIM] Rewriting for not-local_domains

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Andreas Edler
Cc: Torsten Curdt, Exim-Mailinglist
Asunto: Re: [EXIM] Rewriting for not-local_domains
On Fri, 10 Jul 1998, Andreas Edler wrote:

> Torsten Curdt wrote:
>
> > Hmm... If I got it right Andreas wants to leave all his local deliveries
> > untouched (x@??? -> y@???) and wants to rewrite the from-
> > and
> > reply-to fields (x@??? -> z@???) to (x@??? ->
> > z@???)
> > if the mail goes outside his local domain.
>
> yes, that is what I want.
>
> > I thought that this is not possible ...
> > Because rewriting is done per address and not per message?!?


No, rewriting is done per message, and there is only one copy of the
headers that is used for all recipients (see recent messages on a thread
started by Sean Witham).

> Well, it would be fine is this would be made possible, perhaps in
> rewriting in the transports? Isn't it a quite normal thing if
> you have an intranet and want to connect it with the internet?


You can do what you like at transport time if you are prepared to set up
a transport filter command, but it is expensive.

I'm afraid I have no experience with intranets. Our local network is
part of the Internet. However, I think that one way people handle this
is to use a gateway machine. The intranet machines pass mail amongst
each other, and send anything that is going outside to the gateway. The
gateway can then rewrite quite happily, because it does not receive
copies that are purely internal.


-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***