[Rspamd-Users] Something simple

Nihad @ RSPAMD maillist rspamd-mlist-user-qa at eminovic.ba
Tue Apr 14 17:58:39 UTC 2020


/Nihad
On 14 Apr 2020, 17.02 +0200, User questions <users at lists.rspamd.com>, wrote:
>
> So in /etc/rspamd/local.d/multimap.conf I added the following:
> local_content_reject {
> type = "content";
> filter = "body";
> map = "$CONFDIR/maps.d/content.map";
> symbol = "REJECT_CONTENT";
> action = "reject";
> regex = true;
> description = "Reject based on message content";
> }

This is my local.d/multimap.conf

KEYWORD_BL {
        type = "content";
        map = "${LOCAL_CONFDIR}/local.d/keyword_bl.map";
        score = 5;
        filter = "text";
# filter = "body";
        description = "List of words that will trigger higher score, for spammy messag$
        message ="Seems like you are trying to spam me … ";
        regexp = true;
}

content of keyword_bl.map is
/loan/
/this_should_be_seen_by_test/







More information about the Users mailing list