Learn SPAM from files:
$ sa-learn --dbpath /opt/spamassassin/mydb.bayes --spam -u vmail /opt/vmail/group/user/Maildir/.Junk/cur
– custom database is set
– user changed to “spamd”
Resources
- SpamAssassin Bayes database to MySQL
- http://svn.apache.org/repos/asf/spamassassin/branches/3.1/sql/
- Spamassassin with amavis: Tips and tricks
SpamAssassin: Store Bayes database per user