it might happen, I already seen it, what you can check is what the rspamd UI output to our UI
echo ‘{“action”:“stats”}’ | /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-mail/filter/read | jq
the number 1544
and 317
are seen as revision by my UI, it is not reflect the the number of learned
"statfiles": [
{
"symbol": "BAYES_SPAM",
"users": 1,
"total": 0,
"size": 0,
"revision": 1344,
"languages": 0,
"used": 0,
"type": "redis"
},
{
"symbol": "BAYES_HAM",
"users": 1,
"total": 0,
"size": 0,
"revision": 648,
"languages": 0,
"used": 0,
"type": "redis"
}
],
but the number of all learned are
"info": {
"version": "3.0",
"learned": 303,
"clean": 11490,
"scanned": 12662,
"auth": "ok",
"greylist": 0,
"read_only": false,
"uptime": 1139689,
"probable": 548,
"config_id": "qh3aageog5i7iyeb6w4xr8dtshofoxg9ow9t74crkhtbrdqys5mu7dhkkhwd6d7mn947uoek9owtymu784tu5ekgsfcod3faodwp89d",
"reject": 623,
"soft_reject": 1
},
However why the learned have been set to zero again, no idea yet