[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ignore authenticated received chain (arc), and such headers in rmail
From: |
Eli Zaretskii |
Subject: |
Re: ignore authenticated received chain (arc), and such headers in rmail |
Date: |
Sun, 07 May 2017 20:17:46 +0300 |
> From: address@hidden (Alfred M. Szmidt)
> Date: Sun, 07 May 2017 06:59:33 -0400
>
> This ignores some new headers that have become popular by some smtp
> providers which are very verbose. They are not very useful for the
> user, and just polute the buffer.
>
> diff -u --label /home/ams/emacs/lisp/mail/rmail.el --label \#\<buffer\
> rmail.el\> /home/ams/emacs/lisp/mail/rmail.el /tmp/buffer-content-363vYs
> --- /home/ams/emacs/lisp/mail/rmail.el
> +++ #<buffer rmail.el>
> @@ -363,6 +363,7 @@
> "\\|^importance:\\|^envelope-to:\\|^delivery-date\\|^openpgp:"
> "\\|^mbox-line:\\|^cancel-lock:"
> "\\|^DomainKey-Signature:\\|^dkim-signature:"
> + "\\|^ARC-.*:"
> + "\\|^Received-SPF:"
> + "\\|^Authentication-Results:"
>
> "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:"
> "\\|^x-.*:"))
> "Regexp to match header fields that Rmail should normally hide.
Fine with me, thanks.