On Thu, 9 Jun 2016, Yu Qian wrote:

My spam assassin works pretty well if I run it on a single machine, either
mac or linux. that means I update my rules and train my bayes model on the
same machine.

But when I tried to train the model and generate bayes file db  on mac, and
I mounted them to a docker container, then sa-learn failed to read the DB.
the permission looks good, because the error just show "failed to open
bayes_toks"

Anyone know the potential problems?

Are you sure the path is correct?

Run sa-learn in debug mode to see where it's looking for the bayes DB.


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...wind turbines are not meant to actually be an efficient way to
  supply the power grid, rather they're prayer wheels for New Age
  iBuddhists, their whirring blades drawing white guilt from the
  atmosphere and pumping it safely underground.                -- Tam
-----------------------------------------------------------------------
 170 days since the first successful real return to launch site (SpaceX)

Reply via email to