Page 1 of 1
sa-learn wrong path
Posted: 30 Mar 2016 16:02
by ThierryIT
Hi,
It might be a bug.
When clicking on the link to declare a spam from the bottom email's signature, I add an error message:
Couldn't find sa-learn blabla ....
You can check on line 99 of "/var/www/cgi-bin/learn-msg.cgi" the "sa-learn" path is wrong, it should be /usr/bin/sa-learn instead of /usr/local/bin ....
Thx
using v3.0.9
Re: sa-learn wrong path
Posted: 07 Apr 2016 04:37
by crazy4leet
I also have this issue since upgrading to 3.0.0.9 from 3.0.0.8
I modified the cgi script but it doesn't seem to process or atleast forward to the successful submission page.
I just get a page with /var/spool/MailScanner/quarantine/date/nonspam/MAILID
If I perform a manual refresh then i get redirected to /learned.html
Re: sa-learn wrong path
Posted: 07 Apr 2016 07:38
by kastenkopf
Hi Team,
I also have this issue since upgrading to 3.0.0.9 from 3.0.0.8
This Bug is a great problem. It is very importent to manage spam by the users himself.
this is the error-notice:
/var/spool/MailScanner/quarantine/20160406/nonspam/62ED1120D52.AFBF6
Software error:
Cannot open /usr/local/bin/sa-learn --spam: No such file or directory at /var/www/cgi-bin/learn-msg.cgi line 99.
For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
Re: sa-learn wrong path
Posted: 13 Apr 2016 09:52
by pdwalker
Strange
learn-msg.cgi looks for sa-learn in /usr/local/bin.
My sa-learn is in /usr/bin and not in /usr/local/bin but I do not get his error message.
Re: sa-learn wrong path
Posted: 27 Apr 2016 08:42
by pcook
Morning all.
Have installed the VM and configured it this week and I too see this error message whenever anyone clicks on the links in the email.
Any thoughts on how to correct it?
Re: sa-learn wrong path
Posted: 27 Apr 2016 08:52
by pcook
I've modified my learn-msg.cgi to point at /usr/bin/sa-learn and that seems to work fine.
Re: sa-learn wrong path
Posted: 28 Apr 2016 01:12
by Stuart
Confirmed the bug. Confirmed working after making the change.
Re: sa-learn wrong path
Posted: 29 Apr 2016 12:34
by DaN