Using Spamassassin scans with Amavisd

Giovanni Bechis giovanni at
Wed Jan 30 19:15:39 CET 2019

Danny Horne <danny at> wrote:
> Hi all,
> I get the occassional spam in my inbox which I then move to my Junk 
> folder.  When I've got a bunch of emails there I run
> sa-learn --spam --mbox Junk
> on that folder, which creates / updates bayes_seen and bays_toks files. 
> Does Amavisd use these files and if not, is there a way to point it to them?
It's SpamAssassin that is using those files, not amavisd-new.
To configure SpamAssassin check Mail::SpamAssassin::Bayes(3), 
Mail::SpamAssassin::BayesStore(3) and Mail::SpamAssassin::BayesStore::BDB(3)
man pages.

More information about the amavis-users mailing list