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=,database=0

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 
the following documentation but it is very brief

Reply via email to