error learning ham and releasing mails

Report bugs and workarounds
Post Reply
SharazJek
Posts: 70
Joined: 01 Sep 2016 05:15
Location: Dallas, TX

error learning ham and releasing mails

Post by SharazJek »

actually, the mails released fine, but they all gave me this error:

753CD2E025E.AFF0D ham SA Learn: config: path "/root/.spamassassin" is inaccessible: Permission denied, Learned tokens from 1 message(s) (1 message(s) examined)
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: error learning ham and releasing mails

Post by shawniverson »

Looks like sa-learn is running as (correction) non-root and doesn't have a proper home path set. You can change the permission on this file to work around.
SharazJek
Posts: 70
Joined: 01 Sep 2016 05:15
Location: Dallas, TX

Re: error learning ham and releasing mails

Post by SharazJek »

it was the latest .ovf install.

and speaking of, is there a command that we can use to display the platform (build, ovf, vhd, etc) to help identify for troubleshooting reasons? would that ever be relevant?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: error learning ham and releasing mails

Post by shawniverson »

SharazJek wrote:actually, the mails released fine, but they all gave me this error:

753CD2E025E.AFF0D ham SA Learn: config: path "/root/.spamassassin" is inaccessible: Permission denied, Learned tokens from 1 message(s) (1 message(s) examined)
Change this line in /var/www/html/mailscanner/conf.php

Code: Select all

define('SA_PREFS', MS_CONFIG_DIR . 'spam.assassin.prefs.conf');

Code: Select all

define('SA_PREFS', MS_CONFIG_DIR . 'spamassassin.conf);
xai
Posts: 1
Joined: 07 Feb 2017 20:48

Re: error learning ham and releasing mails

Post by xai »

Hi,

sorry for pushing that thread but I do have the same issue. "SA Learn config: path "/root/.spamassassin" is inaccessible: Permission denied"
The line in /var/www/html/mailscanner/conf.php is already like @shawniverson mentioned.
Is there any other advice on how to fix that error? Should I move the folder/file to another path?
I am running version 3.0.1.8

Thanks
Xai
Post Reply