[Rspamd-Users] Custom subject.map ignoring certain regexp

Jörg Backschues joerg at backschues.de
Sun Feb 2 20:36:21 UTC 2025


Am 02.02.25 um 07:26 schrieb Richard Klingler via Users:

> So it should match then this subject in the spam:
> 
> Subject: SPENDE

Have you tried a Multimap rule e.g.:

/etc/rspamd/local.d/multimap.con:
LOCAL_HEADER_SUBJECT {
   description = "header subject";
   symbol = "LOCAL_HEADER_SUBJECT";
   type = "header";
   header = "subject";
   map = "/${LOCAL_CONFDIR}/maps.d/header-subject.map";
   regexp = true;
}

/etc/rspamd/maps.d/header-subject.map:
/SPENDE/

This can be integrated in your Composite expressions then.

-- 
Kind Regards
Jörg Backschues


More information about the Users mailing list