On 04/10/2018 06:23 AM, Emanuel Gonzalez wrote:
Hello,


I install Redis vía yum in Centos 7 and through cpan the Mail plugin :: SpamAssassin :: BayesStore :: Redis.


In local.cf add this rule:


bayes_store_module  Mail::SpamAssassin::BayesStore::Redis
bayes_sql_dsn  server=0.0.0.0:6379,database=0


The server= needs to be the IP of the Redis server. It is not a listening IP. If the Redis server is local to the box, use 127.0.0.1 above.

You should be able to telnet to the IP and port and get a connection to test basic connectivity.


In redis.conf:

port 6379

pidfile /var/run/redis.pid
logfile /var/log/redis.log
#loglevel notice
loglevel verbose

databases 16
save 600 1

dir /var/lib/redis
dbfilename dump.rdb

maxclients 1024
timeout 30

I see this error:

abr 10 08:18:56.229 [8978] dbg: bayes: _open_db(not yet connected)
plugin: eval failed: bayes: Redis failed: Error: Argumento inválido at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/Redis.pm line 264. at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/Redis.pm line 271.


any ideas?

I have followed the steps of https://svn.apache.org/repos/asf/spamassassin/trunk/contrib/HOWTO.Bayes-Redis/ the following documentation but it is very brief



--
David Jones

Reply via email to