Variable: rmail-retry-ignored-headers

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

Value

"^x-authentication-warning:\\|^x-detected-operating-system:\\|^x-spam[-a-z]*:\\|^arc-.*:\\|^content-type:\\|^content-transfer-encoding:\\|^mime-version:\\|^message-id:\\|^x-google-smtp-source:\\|^x-received:\\|^received-spf:\\|^authentication-results:\\|^dkim-signature:"

Documentation

Headers that should be stripped when retrying a failed message.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
;;;###autoload
(defcustom rmail-retry-ignored-headers
  (concat "^x-authentication-warning:\\|^x-detected-operating-system:\\|"
          "^x-spam[-a-z]*:\\|^arc-.*:\\|"
          "^content-type:\\|^content-transfer-encoding:\\|"
          "^mime-version:\\|^message-id:\\|^x-google-smtp-source:\\|"
          "^x-received:\\|^received-spf:\\|"
          "^authentication-results:\\|^dkim-signature:")
  "Headers that should be stripped when retrying a failed message."
  :type '(choice regexp (const :value nil :tag "None"))
  :group 'rmail-headers
  :version "29.1")