The spam package offers a variety of back ends for detecting spam. Each back end defines a set of methods for detecting spam (see Filtering Incoming Mail, see Detecting Spam in Groups), and a pair of spam and ham processors (see Spam and Ham Processors).