On Mon, 28 May 2018, Palvelin Postmaster wrote:



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

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...

Using localhost does NOT work for me. Linting produces the same error as before.

Rats. OK, fixing that assumption in the change I made to the example.

Thanks for testing it!

--
 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
-----------------------------------------------------------------------
  The real opiate of the masses isn't religion; it's the belief that
  somewhere there is a benefit that can be delivered without a
  corresponding cost.                       -- Tom of "Radio Free NJ"
-----------------------------------------------------------------------
 Today: Memorial Day - honor those who sacrificed for our liberty

Reply via email to