Issue with RSpamd

NethServer Version: 7.09.2009 with all updates
Module: RSpamd 3.0

Hello again,

I have a strange behavior of the RSpamd in a sense that it is resetting the learned hams and spams to activate the filter (400 spams and hams). The server is running more than a year, it has learned but from time to time it is kind of “forgetting” the learned.

Then again if you go to the RSpamd web interface it says that it have the spams and hams

How to overcome this issue and have an active filter?

@stephdl
Do you have an idea?

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

1 Like