[Rspamd-Users] local fuzzy

Alexander Moisseev moiseev at mezonplus.ru
Fri Aug 9 10:08:52 UTC 2019

On 09.08.2019 10:32, Grooz, Marc (regio iT) wrote:
> Hi Alexander,
> thank you. Now with the command:
> rspamc -f 11 fuzzy_delhash 2869be91611dd3931e444e91e929da1eaa1e39b29330d9b914d171c5f675ae5de0d8f553a2b067edf3e60b838e25e11b20ba0cd8ca049612d3d41d8b0197006e
> Results for command: fuzzy_delhash (0.011 seconds)
> success = true;
> hashes [
>      "2869be91611dd3931e444e91e929da1eaa1e39b29330d9b914d171c5f675ae5de0d8f553a2b067edf3e60b838e25e11b20ba0cd8ca049612d3d41d8b0197006e",
> ]
> scan_time = 0.012000;
> The Hash was deleted and the counter  in local fuzzy decrises from 117 to 116. But with no effect. Mail is dedected by local fuzzy. After we issued the same command again the Counter of entry decrises ongoing, now we are at 114. Im sure that this hash isn't n times in our storage. Looks like a bug to me?
It is possible that some other hashes expired while you were deleting the hash.
While experimenting with fuzzy please be aware that fuzzy storage is updated periodically (AFAIR once per minute by default). If you want to get result immediately after changes, you can force update using `rspamadm control fuzzy_sync`.

> Is it possible to see all hashes in storage?
You can use `redis-cli` to inspect the database or `redis-cli monitor` to see what is happening in real time.

More information about the Users mailing list