Variable: message-bogus-addresses

message-bogus-addresses is a customizable variable defined in message.el.gz.

Value

("noreply" "nospam" "invalid" "@.*@" "[^[:ascii:]].*@" "[       ]")

Documentation

List of regexps of potentially bogus mail addresses.

See message-check-recipients how to setup checking.

This list should make it possible to catch typos or warn about spam-trap addresses. It doesn't aim to verify strict RFC conformance.

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

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/message.el.gz
(defcustom message-bogus-addresses
  '("noreply" "nospam" "invalid" "@.*@" "[^[:ascii:]].*@" "[ \t]")
  "List of regexps of potentially bogus mail addresses.
See `message-check-recipients' how to setup checking.

This list should make it possible to catch typos or warn about
spam-trap addresses.  It doesn't aim to verify strict RFC
conformance."
  :version "26.1"			; @@ -> @.*@
  :group 'message-headers
  :type '(choice
	  (const :tag "None" nil)
	  (list
	   (set :inline t
		(const "noreply")
		(const "nospam")
		(const "invalid")
		(const :tag "duplicate @" "@.*@")
		(const :tag "non-ascii local part" "[^[:ascii:]].*@")
		(const :tag "`_' in domain part" "@.*_")
		(const :tag "whitespace" "[ \t]"))
	   (repeat :inline t
		   :tag "Other"
		   (regexp)))))