On 05/22/2014 12:56 PM, Matteo Dessalvi wrote:
Hi all.
As stated in the subject I am just trying to test my
SpamAssassin 3.4.0 installation (I am using the Debian
Jessie package), with the usual method described here:
http://wiki.apache.org/spamassassin/TestingInstallation
In the output of the command: spamassassin -D < gTube_spam.txt
I have got the following error:
(...)
May 22 12:31:39.240 [8390] warn: plugin: eval failed: bayes: Redis
failed: Redis error: ERR operation not permitted at /usr/share/perl5
/Mail/SpamAssassin/BayesStore/Redis.pm line 233, <GEN2> line 1. at
/usr/share/perl5/Mail/SpamAssassin/BayesStore/Redis.pm line 265.
(...)
In the end the test have worked perfectly, because SA has
correctly classified the GTUBE spam sample but I am worried
about that Redis error.
The SA local.cf contains the following string:
bayes_sql_dsn server=10.1.1.19:6379;password=mypass;database=2
(...)
which, I taught, should be enough for SA. Note that if
I am using the redis-cli from the command line, specifying
the same parameters, I did not have any connection/authorization
problem.
Looking for the line 233 stated in the error message, I found
that the error is raised inside the sub on_connect but it looks
like it's not a Redis authentication error.
Any clues about what I am doing wrong?
Thanks in advance!
have you included this in your local.cf ?
bayes_store_module Mail::SpamAssassin::BayesStore::Redis