Re: [Exim] Need help (how to correctly rewrite headers)

Top Page
Delete this message
Reply to this message
Author: Robert Mognet
Date:  
To: exim-users
Subject: Re: [Exim] Need help (how to correctly rewrite headers)
Hello,

On Sat, Jan 20, 2001 at 05:03:49PM +0300, Andrew Golubev wrote:
>
> Hello :))
>
> Please explain me how to get correctly such effect, what to read about this,
> what options in exim.conf provide this.


Try section 34 of the "spec.txt" document which comes with the exim
distribution.

It can be very simple. In the exim.conf file, near the end of the
file, in the "REWRITE CONFIGURATION" section, a line like this often
works:

    user@localhost    user@???    F f r s


Rewrites local user's address to remote user's address in the From, from:,
reply-to: and sender: header fields.

Regards,
Robert

> I have local network with Linux server and number of Windows NT clients.
> Server connected to Internet via dial-up.
> @mydomain.isp.net - my mail domain on ISP
> @localdomain - local network domain
> If mail send from one local user to another, it must be delivered directly.
> If local user send mail to external (internet) address, MTA must change
> @localdomain to @mydomain.isp.net in message header.
> Addresses in received mail from external users must be change from
> @mydomain.isp.net to @localdomain.
>
> Thank you for help
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>