[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mutt and From: line



On Sat, Apr 06, 2002 at 04:54:36PM -0500, Matthew Daubenspeck wrote:
> I have been messing with mutt and trying to make it display my name
> currectly for FAR too long, and I have gotten no where.
> 
> I have tried every combination of set realname, set from, my_hdr From:
> with every combination of strings I can think of, and I cannot get mutt
> to display my full name in the mutt message list menu. Instead, it just
> displays to address@i_sent_to.com.
> 
> What the heck am I doing wrong?

If I understand your problem correctly, the mail _is_ sent with the
right sender name, but in the list of emails you don't get "Matthew
Daubenspeck", but instead "to address@i_sent_to.com". So it's purely a
display problem.

mutt has a configuration variable that determines how the message list
is displayed. By default, it contains %L, which will display the name of
the mailing list the mail was sent to[1], or the author name, or the
recipient if the author is yourself. So, any mail you send will always
show as "to something". To always show the contents of the From: line,
you would have to change the %L to %n, which shows the author's name, or
the address if there is no name. To change just that, put

    set index_format="%4C %Z %{%b %d} %-15.15n (%4l) %s"

in your .muttrc

You can find more about this at
http://mutt.org/doc/manual/manual-6.html#index_format

HTH

[1] To have this work, you have to have to tell mutt the names of the
list you post to or are subscribed to.

-- 
Note that I use Debian version 3.0
Linux mus 2.4.17mvz4 #1 Fri Mar 15 23:30:15 CET 2002 i686 unknown

Matijs


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: