Click to See Complete Forum and Search --> : Debian Exim config question


milanuk
12-14-2000, 12:40 PM
Could someone please tell me if there is an easier way of doing something like putting my email address 'milanuk@yahoo.com' in the sender/From: header of outgoing mail? I used to use sendmail and install-sendmail to configure it, but I am trying to make a go of it w/ exim. I use mutt as a MUA, and have set in my .muttrc the following:

my_hdr From: Monte Milanuk <milanuk@yahoo.com>
set envelope_from=yes

and this does seem to set the From: header that you see in a MUA, but the Sender: address or whatever deeper in the headers is still set by exim to 'monte@ishamael.inet' which is my local user/machine name, and which Yahoo! kicks back every time.

I looked at the Exim FAQ, but it babbles something about running _two_ instances of exim to pull this off... There's gotta be an easier way to do this.

Or would I be better off switching to Postfix?

Here is the section from the Exim FAQ:

Q1003: I want to rewrite local addresses in mail that goes to the outside world, but not for messages that remain within the local intranet.
A1003: Exim wasn't really designed to handle this kind of split world. Because it keeps only one copy of a message, and does all the rewriting at the time of reception, a standard configuration cannot handle this kind of rewriting in a message that has both internal and external recipients.

However, what can be done is to split off a copy of the message to be sent to all external recipients, and do the rewriting on that. This can be achieved by running two differently-configured versions of Exim, either on a single host, or on two different hosts. If you have a gateway or firewall machine, that is the natural place to run the rewriting version.


TIA,

Monte



[This message has been edited by milanuk (edited 14 December 2000).]