Show current email address in Mutt status line

mutt

I have multiple email accounts configured with Mutt, however it's not always clear to me in which account I'm currently on.

I'm looking forward to add my current email address (from the from property) in Mutt status line, however status_format doesn't document such sequence.

Is this possible?

Best Answer

The comments from Nikos is a good reference. I think what you need to do is to add $from into the status_format field.

It seems that mutt reads muttrc sequentially, which means you need to put the set status_format=... after the set from=... in order to make it work. If you make sure the $from is correctly set every time you change the account, the status line should be correctly displayed.

Related Question