Malcolm J Harwood on 31 Jul 2016 07:51:22 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Spamassassin Bayes Question - Where is the Database? Is it Working?

On 7/30/2016 7:27 PM, Casey Bralla wrote:
I've been using spamassassin on my postfix/amavis system for some time. I have it catching
spam system-wide and sending all the spam to a spam user eMail address. It seems to work
fine, but I'm not sure the bayes learning is working.

In you're amavis config there will be a path variable. Eg.
	$MYHOME = '/var/amavis';

It looks like yours is probably set to /var/lib/amavis

Then in your cronjob, add the argument "--dbpath" to sa-learn:

sa-learn --ham --dbpath /var/lib/amavis

So, why do I have 3 different versions of this file with -almost- the same timestamp but
different sizes?

One is your cron job. One is amavis. The other seems to be something using plain spamassassin (not through amavis).

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --