Jason Morrill wrote:
Mike,I believe the difference is that you're using MySQL for the database. I'm using flat files in /home/user/.spamassassin. In my case when I run as 'root' sa-learn looks for the database in /root/.spamassassin since that is the current user's SA database location. In your case the database location is always MySQL which doesn't depend on UNIX file permissions or path parameters.
even then: --dbpath should help.