[Rspamd-Users] Is storing history just not supported?

David Reagan me at davidreagan.net
Wed Feb 3 14:37:18 UTC 2021


Thanks Duncan and Alexander. That answers my question.

So I should be using persistent storage for /var/lib/rspamd.


- David

On 2/3/21 12:55 AM, Duncan Bellamy wrote:
>
>> On 3 Feb 2021, at 00:53, David Reagan <me at davidreagan.net> wrote:
>>
>> Hey all,
>>
>> When I push an update to my server, I recreate the docker containers rspamd and redis live in. I have redis configured to save data to disk, and it does do so. My bayes learning stats are retained. But all the rest of my stats go away. I went from over 400 scanned messages, to 0.
>>
>> I have redis configured in /etc/rspamd/local.d/redis.conf.
>>
>> write_servers = "spamfilter-db";
>> read_servers = "spamfilter-db";
>>
>>  From everything in the docs I could find, that should make all the modules that support redis, use redis, right?
>>
>> Am I missing something? Is storing history just not supported?
>>
>> Thanks in advance.
>>
>> - David Reagan
>>
>> -- 
>> Users mailing list
>> Users at lists.rspamd.com
>> https://lists.rspamd.com/mailman/listinfo/users
> Hi,
>   Stats are stored in "cat /var/lib/rspamd/stats.ucl”, I don’t think they are stored in redis as well.
>
> Regards,
>
> Duncan


More information about the Users mailing list