On Sun, 27 May 2018, Palvelin Postmaster wrote:

On 27 May 2018, at 21:43, John Hardin <jhar...@impsec.org> wrote:

# Use Redis for Bayes backend
bayes_store_module              Mail::SpamAssassin::BayesStore::Redis
bayes_sql_dsn                   server=127.0.0.1:6379,database=0

  foreach (split(';', $bconf->{bayes_sql_dsn})) {

It appears the DSN syntax for SA follows the common format and uses semicolon 
as a delimiter. Try:

 server=127.0.0.1:6379;database=0

Works! Thanks a lot! :)

Yay! Thanks for confirming. Example .cf file fixed.

...just for completeness, would you try "localhost" in the DSN to see whether name resolution does work there? I just assumed it does...

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Where We Want You To Go Today 09/13/07: Microsoft patents in-OS
  adware architecture that incorporates monitoring and analysis of
  user actions and interrupting the user to display apparently
  relevant advertisements (U.S. Patent #20070214042)
-----------------------------------------------------------------------
 Tomorrow: Memorial Day - honor those who sacrificed for our liberty

Reply via email to