Variable: rmail-ignored-headers

rmail-ignored-headers is a customizable variable defined in rmail.el.gz.

Value

"^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:\\|^face:\\|^x-mailer:\\|^delivered-to:\\|^lines:\\|^content-transfer-encoding:\\|^x-coding-system:\\|^return-path:\\|^errors-to:\\|^return-receipt-to:\\|^precedence:\\|^mime-version:\\|^list-owner:\\|^list-help:\\|^list-post:\\|^list-subscribe:\\|^list-id:\\|^list-unsubscribe:\\|^list-archive:\\|^content-length:\\|^nntp-posting-date:\\|^user-agent\\|^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-.*:"

Documentation

Regexp to match header fields that Rmail should normally hide.

(See also rmail-nonignored-headers, which overrides this regexp.)
This variable is used for reformatting the message header, which normally happens once for each message, when you view the message for the first time in Rmail. To make a change in this variable take effect for a message that you have already viewed, go to that message and type M-x rmail-toggle-header (rmail-toggle-header) twice.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
;;;###autoload
(defcustom rmail-ignored-headers
  (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:"
	  "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:"
	  "\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:"
	  "\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:"
	  "\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:\\|^face:"
	  "\\|^x-mailer:\\|^delivered-to:\\|^lines:"
	  "\\|^content-transfer-encoding:\\|^x-coding-system:"
	  "\\|^return-path:\\|^errors-to:\\|^return-receipt-to:"
	  "\\|^precedence:\\|^mime-version:"
	  "\\|^list-owner:\\|^list-help:\\|^list-post:\\|^list-subscribe:"
	  "\\|^list-id:\\|^list-unsubscribe:\\|^list-archive:"
	  "\\|^content-length:\\|^nntp-posting-date:\\|^user-agent"
	  "\\|^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.
\(See also `rmail-nonignored-headers', which overrides this regexp.)
This variable is used for reformatting the message header,
which normally happens once for each message,
when you view the message for the first time in Rmail.
To make a change in this variable take effect
for a message that you have already viewed,
go to that message and type \\[rmail-toggle-header] twice."
  :type 'regexp
  :group 'rmail-headers)