[Rspamd-Users] multimap check fails - why?

Johannes Rohr johannes at rohr.org
Thu Aug 8 12:56:50 UTC 2024


Am 08.08.24 um 12:41 schrieb Vsevolod Stakhov:
> Expected? `rspamadm grep` is a tool for patterns search in the Rspamd 
> **logs** only. Maybe it is a good idea to read the documentation 
> sometimes? 

I found this information in the meantime. So sorry.

But the only reason why I started using it in the first place was 
because I tried to understand why the map wouldn't work. See above.

You see, this is what I found in the log after dialling up logging for 
the multimap module:

2024-08-08 09:18:02 #1720745(normal) <50c4b9>; multimap; 
multimap.lua:675: apply filter email:addr for rule LOCAL_BL_FROM: 
someuser at gmail.com -> {[1] = someuser at gmail.com}
2024-08-08 09:18:02 #1720745(normal) <50c4b9>; multimap; 
multimap.lua:563: check value someuser at gmail.com for multimap LOCAL_BL_FROM
2024-08-08 09:18:02 #1720745(normal) <50c4b9>; multimap; 
multimap.lua:544: got return "not found" (err code = 404) for multimap 
LOCAL_BL_FROM

So why the heck does this check fail? What does the 404 mean? Does it 
mean that rspamd failed to find the map or that it failed to find a 
match in the map?

Cheers,

Johannes

P.S.: For some reason it now seems to work. Could stale cache content in 
redis be to blame? I really haven't changed much.



More information about the Users mailing list