You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2026/01/14 10:53:54 UTC
[Bug 8362] New: Redis bayes legacy configuration method does not work after upgrading to SA 4.0.2
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: dev@spamassassin.apache.org
Reporter: marcel.evenson@gmail.com
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.
[Bug 8362] Redis bayes legacy configuration method does not work after upgrading to SA 4.0.2
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8362
Marcel <ma...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcel.evenson@gmail.com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Marcel <ma...@gmail.com> ---
Thanks Giovanni that attachment fixes things.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 8362] Redis bayes legacy configuration method does not work after upgrading to SA 4.0.2
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8362
Giovanni Bechis <gi...@paclan.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovanni@paclan.it
--- Comment #1 from Giovanni Bechis <gi...@paclan.it> ---
Created attachment 6053
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6053&action=edit
fix legacy configuration when using a password in Redis
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 8362] Redis bayes legacy configuration method does not work after upgrading to SA 4.0.2
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8362
--- Comment #3 from Giovanni Bechis <gi...@paclan.it> ---
Sending lib/Mail/SpamAssassin/BayesStore/Redis.pm
Transmitting file data .done
Committing transaction...
Committed revision 1931330.
--
You are receiving this mail because:
You are the assignee for the bug.