On 1/16/2013 2:22 PM, Bowie Bailey wrote: > On 1/16/2013 1:18 PM, Ben Johnson wrote: >> >> On 1/16/2013 11:00 AM, John Hardin wrote: >>> On Wed, 16 Jan 2013, Ben Johnson wrote: >>> >>>> Is it possible that the training I've been doing over the last week or >>>> so wasn't *effective* until recently, say, after restarting some >>>> component of the mail stack? My understanding is that calling SA via >>>> Amavis, which does not need/use the spamd daemon, forces all Bayes data >>>> to be up-to-date on each call to spamassassin. >>> That shouldn't be the case. SA and sa-learn both use a shared-access >>> database; if you're training the database that SA is learning, the >>> results of training should be effective immediately. >>> >> Okay, good. Bowie's response to this question differed (he suggested >> that Amavis would need to be restarted for Bayes to be updated), but I'm >> pretty sure that restarting Amavis is not necessary. It seems unlikely >> that Amavis would copy the entire Bayes DB (which is stored in MySQL on >> this server) into memory every time that the Amavis service is started. >> To do so seems self-defeating: more RAM usage, worse performance, etc. > > Actually, I was making a general observation. > > For cases where you would normally need to restart spamd, you will need > to restart amavis. This includes things like rule and configuration > changes. > > Bayes data is read dynamically from your MySQL database and thus does > not require a restart of amavis/spamd when updated. >
My apologies, Bowie. I misinterpreted your response. Thank you very much for the follow-up and for the clear explanation. Best regards, -Ben