Wietse,

OK, thanks.  That explains everything.  I'm using NMH and was able to fix the 
problem by editing localname in mts.conf.

Our previous system (on the machine that died) used sendmail, which I'm 
guessing had the ability to fix the "From:" header the way I needed it, but I 
haven't looked into it closely and don't care enough to.

Thanks,
                        -- Adam





-----Original Message-----
From: Wietse Venema <wie...@porcupine.org>
To: Postfix users <postfix-users@postfix.org>
Sent: Mon, Jan 3, 2011 11:31 am
Subject: Re: Changing address in "From:" header


adambenesc...@aol.com:
 
 
 
 Hi,
 
 I'm trying to set up Postfix on one of our hosts to handle (among other 
hings) outgoing mail.  We have several hosts in our domain (which I'll call 
omain.com).
 
 The problem I'm trying to solve is that when I send a message, either to 
nother user in our domain or to an outside address, the From: header of the 
essage appears as
 
 From: Adam Beneschan < a...@host1 >
 
 (no spaces inside the angle brackets, I've added them to foil AOL), but I need 
t to appear as
 
 From: Adam Beneschan < a...@domain.com >
You need to fix the mail sending application. Postfix does not use
ain.cf:myorigin when the address already has a domain.
        Wietse

Reply via email to