[Rspamd-Users] can't get blacklisting to work

Ralph Meyer ralph at schosemail.de
Wed Nov 27 18:22:35 UTC 2019


Hi,

>    local_bl_from {
>        type = "from";
>        description = "Local from blacklist";
>        symbol = "LOCAL_BL_FROM";
>        map = "/var/lib/rspamd/local_bl_from.map.inc";
>    }


Try

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

local_bl_from {
    type = "from";
    map = "/var/lib/rspamd/local_bl_from.map.inc";
    symbol = "LOCAL_BL_FROM";
    description = "Local from blacklist";
    regexp = true;
    score = 3;
     }



> 'cat /var/lib/rspamd/local_bl_from.map.inc'
> # do'nt empty this file
> /dynamic-lht\.com$/

I also think your regex doesn't match. 

/^.*dynamic-lht\.com$/

Ralph


More information about the Users mailing list