You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2018/05/27 20:47:12 UTC

svn commit: r1832350 - /spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf

Author: jhardin
Date: Sun May 27 20:47:11 2018
New Revision: 1832350

URL: http://svn.apache.org/viewvc?rev=1832350&view=rev
Log:
Fix DSN example syntax, add details in comment

Modified:
    spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf

Modified: spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf?rev=1832350&r1=1832349&r2=1832350&view=diff
==============================================================================
--- spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf (original)
+++ spamassassin/trunk/contrib/HOWTO.Bayes-Redis/SA-rule/bayes_redis.cf Sun May 27 20:47:11 2018
@@ -27,11 +27,16 @@
 bayes_store_module  Mail::SpamAssassin::BayesStore::Redis
 
 
+# Redis bayes_sql_dsn DSN values, semicolon-delimited:
+#  server={redis.server.ip.addr OR hostname}[:port]
+#  database={redis_db_id}
+#  password={redis_db_passwd}
+#
 # NOTE: In this example, we're not using Redis authentication assuming
 # the Redis server/port will not be reachable from the "outside".
 # See Redis docs for authentication syntax
 
-bayes_sql_dsn  server=192.168.1.2:6379,database=0
+bayes_sql_dsn  server=192.168.1.2:6379;database=0
 
 use_bayes 1
 use_bayes_rules 1