Autor: Bernard Massot Data: Para: Exim-users Assunto: [Exim] Re: Domain name rewriting from local senders to non-local recipients in Exim 3.36
On Fri, Mar 07, 2003 at 04:40:43PM -0000, Martyn Hill wrote: > Our school network uses a different internal domain to that by which we are
> known on the Internet.
>
> Both domains are set in the configure file to be recognised as local
> domains, but when sending from a local client on our network (OE5 on
> Windows), the local domain name is passed on (naturally enough) to our ISPs
> upstream smtp server. The message is refused as the internal domain is not
> recognised.
>
> Where and how should I configure the rewriting of the domain from local
> senders to non-local recipients (or any recipient, for that matter)? I think you should use the "return_path" option in your external SMTP
transport. Something like :
return_path = $sender_address_local_part@an_external_valid_domain
--
Bernard Massot