From b08a97651c44def0e30b5eb1b25e6e1a15f8a2ce Mon Sep 17 00:00:00 2001 From: masterzu Date: Wed, 25 Jun 2025 00:11:37 +0200 Subject: [PATCH] mutt: add myhdr --- muttrc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/muttrc b/muttrc index 09ffe2c..2727a9e 100644 --- a/muttrc +++ b/muttrc @@ -90,9 +90,9 @@ bind pager half-down macro index .r ":source ~/.mutt/muttrc" "Reload muttrc" macro index T -# urlscan -macro index,pager \cb "urlscan" "open URL in urlscan" -macro attach,compose \cb " urlscan" "call urlscan to extract URLs out of a message" +# urlview >> handle by tmux : ctrl-a u +# macro index,pager \cb "urlview" "open URL in urlview" +# macro attach,compose \cb " urlview" "call urlview to extract URLs out of a message" # save messages macro index >I =SERVICE.INFO 'save to service info' @@ -181,6 +181,10 @@ set attribution="Le %d, %n a écrit :" # # headers # + +# DEBUG +# set edit_headers = yes + ignore * unignore from date subject to cc reply-to User-Agent Content-Length 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 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-*: +send-hook . "unmy_hdr Reply-To:" +reply-hook . "unmy_hdr Reply-To:" # pager set pager_stop # dont exit at the end of the message with