mutt: add myhdr

This commit is contained in:
masterzu 2025-06-25 00:11:37 +02:00
parent e6764a482f
commit b08a97651c
Signed by untrusted user who does not match committer: pcao
GPG Key ID: B57DBE40C72FBCF4
1 changed files with 9 additions and 3 deletions

12
muttrc
View File

@ -90,9 +90,9 @@ bind pager <down> half-down
macro index .r ":source ~/.mutt/muttrc<enter>" "Reload muttrc" macro index .r ":source ~/.mutt/muttrc<enter>" "Reload muttrc"
macro index <esc>T <untag-pattern> macro index <esc>T <untag-pattern>
# urlscan # urlview >> handle by tmux : ctrl-a u
macro index,pager \cb "<pipe-message>urlscan<enter>" "open URL in urlscan" # macro index,pager \cb "<pipe-message>urlview<enter>" "open URL in urlview"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message" # macro attach,compose \cb "<pipe-entry> urlview<Enter>" "call urlview to extract URLs out of a message"
# save messages # save messages
macro index >I <tag-prefix><save-message>=SERVICE.INFO<enter> 'save to service info' macro index >I <tag-prefix><save-message>=SERVICE.INFO<enter> 'save to service info'
@ -181,6 +181,10 @@ set attribution="Le %d, %n a écrit :"
# #
# headers # headers
# #
# DEBUG
# set edit_headers = yes
ignore * ignore *
unignore from date subject to cc reply-to User-Agent Content-Length unignore from date subject to cc reply-to User-Agent Content-Length
unignore organization organisation x-mailer: x-newsreader: x-mailing-list: unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
@ -189,6 +193,8 @@ unignore X-j-chkmail-Status: X-Spam-Status: X-Amavis-Spam-Status: X-Renater-Spam
# reset header order # reset header order
unhdr_order * unhdr_order *
hdr_order Date: Subject: From: From To: Cc: reply-to: User-Agent: x-mailer: posted-to: List-Id: x-mailing-list: Content-Length: X-*: hdr_order Date: Subject: From: From To: Cc: reply-to: User-Agent: x-mailer: posted-to: List-Id: x-mailing-list: Content-Length: X-*:
send-hook . "unmy_hdr Reply-To:"
reply-hook . "unmy_hdr Reply-To:"
# pager # pager
set pager_stop # dont exit at the end of the message with <space> set pager_stop # dont exit at the end of the message with <space>