[Rspamd-Users] Are inline maps no longer supported ?

Michal Soltys msoltyspl at yandex.pl
Fri Apr 7 13:39:53 UTC 2023


Hi,

Today we have noticed (on version 3.5-2~0c671194e~bullseye) that a 
multimap rule such as:

MORELE_RCPT_BANNED {
   type = "selector";
   selector = "rcpts('smtp'):user";
   map = [ 'zakupy.1klik', 'zakupy.morele' ];
   description = "Invalid destination user";
   score = 20.0;
   prefilter = true;
   action = "reject";
}

is no longer working - the map option must point to some external data, 
e.g. map = "$LOCAL_CONFDIR/local.d/maps.d/banned_external_users.txt";

Was the inline approach something that worked accidentally in the 
previous versions (I'm not sure when exactly it stopped working) ?


More information about the Users mailing list