From: "Andrew Bulmer" <andrewbulmer@???>
Subject: [Exim] How to change the address when sent externally
>Now I have a bunch of addresses in the form of
> user@ackee so that users in the office can send email to each other.
That
> works fine. What I want to do now is somehow have it so that when a user
> sends a message to an outside address, the sender user@ackee will be
replaced
> by company@???. Is this possible?
Have a look at chapter 32 of the manual "Address rewriting", or Chapter 14
of Philip Hazel's book.
The idea is to end up in the "rewrite configuration" section of the exim
configuration file with lines such as
allen@??? allen@??? FfRs
where
allen@??? is an address meaningful only in the private LAN
space
allen@??? is the address used for the outside world
FfRs are flags controlling rewriting
The rewriting rules are highly customisable and at the same time quite
comprehensible.
Hope this helps.
John
--
John and Catherine Allen
Bofferdange, Luxembourg
allen@???
http://www2.vo.lu/homepages/allen