* Robert Holtzm <hol...@cox.net> [120908 22:07]:
> Running mutt 1.5.20-9+squee on squeeze (obviously). 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.
> 
> I realize this is a noob question and I should know it cold, but at this 
> point I'm stuck. Any pointers appreciated.

The default name is set in the file ".muttrc", using the following
line:

    set realname='John Q. Smith'

You can use the alias file to change the address in the From: header,
in the event that you wish to reply from an address other than the
default address.  After backspacing to delete the default address, the
key combination "Esc-f" brings up the list of aliases, items of which
are of the form:

     alias yahoomail   jsmith...@yahoomail.com    (John Q. Smith)
     alias googlemail  johnsmit...@googlemail.com (John Q. Smith)

Select the alias by typing in the alias (here, "yahoomail" or
"googlemail"), whereupon mutt places the corresponding address in the
From: header. 

This works also for the Bcc: and the To: headers.

The alias list resides in ".muttrc".  Alternatively, the alias list
may be kept in a file such as "~/.mutt/alias" which is sourced by
".muttrc"; to do this, place a line such as the following in
".muttrc":

    source ~/.mutt/alias

Of course, you can have any number of alias lists, such as
"alias-business", "alias-friends", "alias-enemies", etc. -- something
of a set of addressbooks.

RLH

Reply via email to