On 30 Aug 2019, at 11:49, RW <rwmailli...@googlemail.com> wrote:
> On Fri, 30 Aug 2019 10:58:30 -0600
> @lbutlr wrote:
> 
>> I have a lot of processes that look like this:
>> 
>> root     48359 100.0  1.4  55984  47680  -  R    17:53      989:39.50
>> /usr/local/bin/perl -T -w /usr/local/bin/sa-learn --spam -u vscan
> ...
>> /var/spool/spamd/.spamassassin/bayes_toks Aug 30 10:44:37.624 [19164]
>> dbg: bayes: tie-ing to DB file R/O
> 
> This looks a bit strange. The -u argument to sa-learn is supposed to be
> for SQL virtual users, but spamd is using a single Berkeley database.

That is probably my error then. I remove the -Q flag manually and didn’t check 
-u since there is a scan user on the system.

> bayes_toks is in the default location for the spamd user, do you have
> that location in  bayes_path, otherwise sa-learn is probably looking
> under ~root.

It looks t be looking in /var/spool/spamd/.spamassassin according to the output 
of -D I posted above.

> IIWY I'd run sa-learn as the user spamd using su.

All the as-learn processes are running as root currently, so I don’t think it’s 
a permission issue. I will remove the -u flag though.

> Also disable bayes_auto_expire, if you haven't already.

Will do.

-- 
Nobody puts one over on Fred C. Dobbs.

Reply via email to