Make Spamassassin learn spam mails

Mark Sapiro mark at
Wed May 3 00:11:58 UTC 2017

On 05/02/2017 03:57 PM, Eoin Kim wrote:
> 1.       So, if I make SA learn the spam/ham through the MailWatch,
> where does the learnt results get stored? In the bayes directory (e.g.
> bayes_journal, bayes_seen and so on)? My spamassassin has the following
> settings at the moment:
> bayes_path /etc/MailScanner/bayes/bayes
> bayes_file_mode 0660

Yes, the files there constitute the SpamAssassin Bayes database.

> 2.       If I am thinking correctly regarding the #1, during the
> disaster recovery (thinking of the worst case), copying those bayes
> files would be enough? Or should I make SA learn again?

Yes, backup and restore of those files is sufficient.

Mark Sapiro <mark at>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the MailScanner mailing list