Function: spam-check-BBDB

spam-check-BBDB is a byte-compiled function defined in spam.el.gz.

Signature

(spam-check-BBDB)

Documentation

Mail from people in the BBDB is classified as ham or non-spam.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/spam.el.gz
(defun spam-check-BBDB ()
  "Mail from people in the BBDB is classified as ham or non-spam."
  (let ((net (message-fetch-field "from")))
    (when net
      (setq net (nth 1 (gnus-extract-address-components net)))
      (if (spam-exists-in-BBDB-p net)
          t
        (if spam-use-BBDB-exclusive
            spam-split-group
          nil)))))