Adjust displayed mail-headers in my neomutt

Previously the headers-config was only applied to gmail-mailboxes (I
guess that was a mistake of my past). This change configures them for
all mailboxes.

Furthermore I dropped the x-mailer, since I'm really _not_ interested in
the sending mail-client...

Finally I adjusted the order of the headers, from the, sometimes,
awkward default-ordering to my own preferences.

Reference: http://www.fefe.de/muttfaq/muttrc
This commit is contained in:
2026-04-19 20:27:02 +01:00
parent 4a7e003ea1
commit 9e4bbf81f0
2 changed files with 6 additions and 3 deletions

View File

@@ -16,9 +16,6 @@ mailboxes =INBOX \
-label Spam "=[Gmail]/Spam" \
-label Archive "=[Gmail]/All Mail" \
# Headers to show
ignore *
unignore date from to cc subject x-mailer resent-from reply-to
bind pager,index d noop
bind pager,index e noop

View File

@@ -13,6 +13,12 @@ set mailcap_path = "$XDG_CONFIG_HOME/mutt/mailcap"
set date_format = "%d.%m.%y %H:%M"
set index_format = "%3C %Z %d %-30.30F %s (%-2.4c)"
# Headers to show by default
ignore *
unignore resent-from reply-to date from to cc subject
unhdr_order *
hdr_order resent-from reply-to date from to cc subject
# Mandatory setting to be able to sync via offlineimap!
# The default is mbox which is basically a file and will not be synced back to
# the imap-server via offlineimap.