[Rspamd-Users] local fuzzy
Grooz, Marc (regio iT)
Marc.Grooz at regioit.de
Mon Aug 12 08:24:08 UTC 2019
-----Ursprüngliche Nachricht-----
Von: Users <users-bounces at lists.rspamd.com> Im Auftrag von Alexander Moisseev via Users
Gesendet: Freitag, 9. August 2019 12:09
An: users at lists.rspamd.com
Cc: Alexander Moisseev <moiseev at mezonplus.ru>
Betreff: Re: [Rspamd-Users] local fuzzy
On 09.08.2019 10:32, Grooz, Marc (regio iT) wrote:
> Hi Alexander,
>
> thank you. Now with the command:
>
> rspamc -f 11 fuzzy_delhash
> 2869be91611dd3931e444e91e929da1eaa1e39b29330d9b914d171c5f675ae5de0d8f5
> 53a2b067edf3e60b838e25e11b20ba0cd8ca049612d3d41d8b0197006e
> Results for command: fuzzy_delhash (0.011 seconds) success = true;
> hashes [
>
> "2869be91611dd3931e444e91e929da1eaa1e39b29330d9b914d171c5f675ae5de0d8f
> 553a2b067edf3e60b838e25e11b20ba0cd8ca049612d3d41d8b0197006e",
> ]
> 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.
----------------------
I think it's a bug. We feed our fuzzy storage only manual and a entry exists for 1 year. The counter of fuzzy storage only decreases if we try to delete an entry. The counter decreases by ongoing deletes of the same hash.
With Redis Cli we see the hashes in storge but, we can't link a specific hash to an entry in storage.
Any Ideas?
Regards Marc
--
Users mailing list
Users at lists.rspamd.com
https://lists.rspamd.com/mailman/listinfo/users
More information about the Users
mailing list