[ Bernard Massot wrote on Sun 9.Sep'12 at 0:33:59 +0200 ] > On Sat, Sep 08, 2012 at 03:01:56PM -0700, Robert Holtzm wrote: > > When I compose a message, the "From" header is as shown above which is > > incorrect. ~/.muttrc shows no option to set this. Somewhere there is a > > file with my full name. I remember typing it in when I installed the > > system but can't find it. I'm not even sure that's what mutt is > > reading. Running searches turns up little of use. > If you have no "from" setting in muttrc (and no $EMAIL environment > variable) mutt doesn't set the "From" header when you send mails. > Usually your MTA, ie the program which actually sends the mail, adds a > "From" header. To build it, the default standard place to look for a > user name is this user's entry in /etc/passwd. You were asked your full > name when you created your user account. > > So you can fix your problem by editing /etc/passwd or by using > "set from = Bob Holtzman <youremailaddress>" in muttrc. > -- > Bernard Massot
Yes I wouldn't edit /etc/passwd directly, there are commands you can you use to change this information. For example, on FreeBSD you can use chsh, i don't know if that command exists on Linux as I don't use Linux but there will be something like it.