Function: spam-backend-check

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

Signature

(spam-backend-check BACKEND)

Documentation

Get the check function for BACKEND.

Each individual check may return nil, t, or a mailgroup name. The value nil means that the check does not yield a decision, and so, that further checks are needed. The value t means that the message is definitely not spam, and that further spam checks should be inhibited. Otherwise, a mailgroup name or the symbol spam (depending on spam-split-symbolic-return) is returned where the mail should go, and further checks are also inhibited. The usual mailgroup name is the value of spam-split-group, meaning that the message is definitely a spam.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/spam.el.gz
(defun spam-backend-check (backend)
  "Get the check function for BACKEND.
Each individual check may return nil, t, or a mailgroup name.
The value nil means that the check does not yield a decision, and
so, that further checks are needed.  The value t means that the
message is definitely not spam, and that further spam checks
should be inhibited.  Otherwise, a mailgroup name or the symbol
`spam' (depending on `spam-split-symbolic-return') is returned where
the mail should go, and further checks are also inhibited.  The
usual mailgroup name is the value of `spam-split-group', meaning
that the message is definitely a spam."
  (get backend 'check))