[Rspamd-Users] Score/Reject on Subject Line With Regexp
Nihad @ RSPAMD maillist
rspamd-mlist-user-qa at eminovic.ba
Thu Dec 9 19:43:15 UTC 2021
There was similar question asked few days ago, and it was solved by a multimap rule similar to this;
multimap file
test {
type = "header";
header = "subject";
map = "${LOCAL_CONFDIR}/local.d/maps.d/test.map";
regexp = true;
}
test.map
/YOUR_REGEX_HERE/i SYMBOL_HERE:SCORE_HERE
Replace strings in CAPS above with your own values.
/Nihad
On 9 Dec 2021, 19.42 +0100, User questions <users at lists.rspamd.com>, wrote:
>
> PROBABLE_SPAM {
> type = "content";
> filter = "full";
> map = "/usr/local/etc/rspamd/local.d/common.spam.regexp.map";
> action = greylist;
> regexp = true;
> }
More information about the Users
mailing list