O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using SQL

SpamAssassin uses local databases for each user by default in the ~/.spamassassin directory. There are three types of databases: user preferences, the auto-whitelist, and the Bayesian database. SpamAssassin can use an SQL database to store any or all of these details.

When using SpamAssassin in a distributed environment where SpamAssassin may be run from one of many machines, using a single SQL database is an ideal solution. Using a centralized database also assists in centralized backup of the preferences, and gives the administrators the opportunity to modify many accounts easily.

SpamAssassin uses the modularity of Perl that allows the usage of different databases to be used without any changes to the application. SpamAssassin has ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required