[Rspamd-Users] Extend information from multimap ip map

Aban Dokht mlist at abando.de
Wed Aug 30 03:00:38 UTC 2023


Hello list,

currently I have a multimap for whitelisting some IPs/networks:

/etc/rspamd/local.d/multimap.conf:

LOCAL_MY_WHITELIST {
     type = "ip";
     map = "$LOCAL_CONFDIR/local.d/local_wl_ip.map.inc";
     score = -5;
     prefilter=true
     description = "Sender's IP is trusted (-5)";
}

$LOCAL_CONFDIR/local.d/local_wl_ip.map.inc:

a.b.c.d/24    # some network
a.b.c.d/32    # some special host


So far, so good.

In the web GUI under history this is logged as:

LOCAL_MY_WHITELIST (-5) [a.b.c.d]


Is it possible to include the comments in the log, e.g.

LOCAL_MY_WHITELIST (-5) [a.b.c.d;some special host]

?

Any ideas?



Regards
Aban

-- 
  Aban Dokht                                   aban.dokht at abando.de
------------------------------------------------------------------


More information about the Users mailing list