https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8362
Bug ID: 8362
Summary: Redis bayes legacy configuration method does not work
after upgrading to SA 4.0.2
Product: Spamassassin
Version: 4.0.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Learner
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
After upgrading from spamassassin 4.0.1 to spamassassin 4.0.2 bayes can't
connect to redis if a password is set using the old configuration.
My config:
bayes_store_module Mail::SpamAssassin::BayesStore::Redis
bayes_sql_dsn server=localhost:6379;password=foobared;database=0
Password is set in redis:
requirepass in redis.conf is set with the "foobared" test password.
Debug:
spamassassin -D --lint 2>&1 | grep -i failed
Jan 14 02:16:33.814 [299814] dbg: bayes: failed to connect to read server 0:
WRONGPASS invalid username-password pair or user is disabled.
Jan 14 02:16:33.816 [299814] warn: bayes: failed to connect to any read server:
bayes: Failed to connect to any read server: WRONGPASS invalid
username-password pair or user is disabled. at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/BayesStore/Redis.pm line 454.
1. Commenting out the requirepass option in redis.conf will allow it to connect
without a password using spamassassin 4.0.2.
2. Dwngrading back to spamassassin 4.0.1 will allow it to connect with the
password set in redis using the bayes_sql_dsn option.
--
You are receiving this mail because:
You are the assignee for the bug.