mutt "from" header

LaMont Jones lamont.jones at ubuntu.com
Fri Feb 4 19:36:15 UTC 2005


On Thu, Feb 03, 2005 at 10:41:07PM -0800, Don W. Jenkins wrote:
> I nearly have mutt functioning as I would like, but there is one glitch: 
> when I send a message, the "From:" header shows 
> "USER at localhost.localdomain" no matter what I try to change in the 
> .muttrc.  I have tried setting "from" to my actual e-mail address, etc., 
> but it still sends me out as something other than my qualified e-mail 
> address.  I don't really see anything in the muttrc file that even has 
> the string "Don W. Jenkins<dwjenkins at sc-zg.com>", so I wonder if it is 
> originating from Postfix or someplace else?  Any ideas? 

The resolver gets confused in warty boot.  The simplest fix I've found
is to edit the 127.0.0.1 line in /etc/hosts, to list the fqdn for the
machine first, ahead of localhost.localdomain.  Then hostname --fqdn
(and everything that uses it) gets it right.

lamont




More information about the ubuntu-users mailing list