[Rspamd-Users] multimap check fails - why?

Albrecht Backhaus albrecht.backhaus at dojokun.ch
Thu Aug 8 08:36:14 UTC 2024


Am 08.08.2024 09:36:14, 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.
>
Maybe it is the typo in your map entry ....
                  The map entry is "somekuser at gmail.com".
The email you sent from is  "someuser at gmail.com".



More information about the Users mailing list