I'm running spamassassin 3.3.2 on Slackware64 14.1, kernel 3.10.17. I use sa-learn to "train" Bayes weekly, sometime daily. I'm trying to locate the Bayes data files. I do not have bayes_path set in local.cf so I suppose it is using a "default" location. In searching my drive I came up with:
-rw------- 1 spamd spamd 652K Mar 26 00:42 /home/spamd/.spamassassin/bayes_seen
-rw------- 1 spamd spamd 5.0M Mar 26 00:42 /home/spamd/.spamassassin/bayes_toks
-rw------- 1 spamd spamd 51K Mar 26 00:42 /home/spamd/.spamassassin/bayes_journal
-rw------- 1 root root 2.5M Mar 26 00:34 /root/.spamassassin/bayes_seen
-rw------- 1 root root 4.7M Mar 26 00:34 /root/.spamassassin/bayes_toks
It appears that I have bayes database files in 2 places. Can that be? I've checked serveral times and both of these locations see to be within minutes of each other after running sa-learn. The /root/.spamassassin files date remains the same until I run sa-learn again. The /home/spamd/.spamassassin files change throughout the day.
My assumption is that the files in /root/.spamassassin are updated as a result of sa-learn and the ones in /home/spamd are updated by the continuously running spamd -- possibly as a results of auto-learn.
My concern is the connection between the 2 sets of files. Is my sa-learn training going into /root/.spamassassin making it into /home/spamd, and is spamd using my training? If I used bayes_path in local.cf would I only have one set of files?
Could someone please explain to me how this works.