Perform the following steps to deploy SpamAssassin:
Install and configure SpamAssassin. Refer to the SpamAssassin software documentation for installation and configuration information. See also 14.4.7 SpamAssassin Options.
Load and configure the SpamAssassin client library. This involves specifying the client library, libspamass.so, and configuration file to the MTA (you must create this file). See 14.2.1 Loading and Configuring the Spam Filtering Software Client Library
Specify what messages to filter for spam. Messages can be filtered by user, domain, or channel. See 14.2.2 Specifying the Messages to Be Filtered
Specify what actions to take on spam messages. Spam can be discarded, filed into a folder, tagged on the subject line, and so on. See 14.2.3 Specifying Actions to Perform on Spam Messages
Set miscellaneous filter configuration parameters as desired. See Table 14–1