I probably did something wrong : the spam training feature doesn’t work anymore on my server. Each time I move a mail from Inbox to Spam or the other way, I receive a non-delivery notification saying this :
This is the mail system at host mattlabs.gaillet.be.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<"matthieu@gaillet.be+learn_ham"@spamtrain.nh>: Command died with status 1:
"/usr/bin/rspamc". Command output: Results for file: stdin (0.769 seconds)
HTTP error: 110, error getting reply from redis server
/var/run/redis-rspamd/rspamd: timeout
Reporting-MTA: dns; mattlabs.gaillet.be
X-Postfix-Queue-ID: 6EAC4C12AFF1
X-Postfix-Sender: rfc822; root@mattlabs.gaillet.be
Arrival-Date: Tue, 15 Jan 2019 20:33:39 +0100 (CET)
Final-Recipient: rfc822; "matthieu@gaillet.be+learn_ham"@spamtrain.nh
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; Results for file: stdin (0.769 seconds) HTTP error:
110, error getting reply from redis server /var/run/redis-rspamd/rspamd:
timeout
What could cause this redis server to fail ? I checked this :
[root@mattlabs ~]# redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379> set mykey somevalue
OK
127.0.0.1:6379> get mykey
"somevalue"
127.0.0.1:6379>
I don’t think so. The collabora module does not use redis even if it’s used in some Nextcloud/Collabora docker images. It’s not a requirement of Nextcloud or CODE.
I tested now on one of my servers and collabora and spam training are working.