[Rspamd-Users] multimap check fails - why?

Tino Hendricks t.hendricks at interpool.de
Thu Aug 8 08:19:34 UTC 2024


Is the „k“ in „somekuser“ intentional?

> Am 08.08.2024 um 09:36 schrieb Johannes Rohr <johannes at rohr.org>:
> 
> Dear all,
> 
> in /etc/rspamd/local.d/multimap.conf the following rule is defined:
> 
> local_bl_from { type = "from";
>                 filter = "email:addr";
>                 map = "$LOCAL_CONFDIR/maps.d/local_bl_from.map.inc";
>                 symbol = "LOCAL_BL_FROM";
>                 description = "Local from blacklist";
>                 regexp = "false";
>                 score = 8;
> }
> 
> In the file "$LOCAL_CONFDIR/maps.d/local_bl_from.map.inc";  there is the single line
> 
> somekuser at gmail.com
> 
> I've added the multimap module to debug modules.
> 
> When I send mail from someuser at gmail.com to my server I see the following in rspamd.log:
> 
> 
> 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
> 
> Why is that? What am I missing?  Does the 404 mean that rspamd fails to find the map file itself, or does it mean that rspamd failed to find the entry in the map?
> 
> I've tried escaping the . in the address, replacing $LOCAL_CONFDIR by the actual path, all to no avail.
> 
> Cheers!
> 
> Johannes
> 
> -- 
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4339 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20240808/42700107/attachment.bin>


More information about the Users mailing list