[Rspamd-Users] Redefine and add new scores in rbl_group.conf

Vsevolod Stakhov vsevolod at rspamd.com
Tue Jul 23 08:07:38 UTC 2019


Hello,

On 05/07/2019 08:09, Riccardo Alfieri wrote:
> Hello,
> 
> I'm trying to understand the best way to redefine scores and/or add new
> ones for new elements in rbl_group.conf
> 
> Normally I'd add the new scores in a dedicated rbl_group.conf file that
> I would put in local.d, but looking at
> https://github.com/rspamd/rspamd/blob/master/conf/scores.d/rbl_group.conf I
> don't see the usual sourcing that I find in all the modules.d files. I'd
> expect something like:
> 
> .include(try=true,priority=1,duplicate=merge)
> "$LOCAL_CONFDIR/local.d/rbl_group.conf"
> .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/rbl_group.conf"
> 
> But it's not there.
> 
> I'm really a newbie to rspamd, so maybe I'm asking something extremely
> stupid here, but what is the correct way of redefine and add new scores?
> 
> Thanks you
> 

This file is included from groups.conf that is in the upper level of FS
hier. Here is the relevant snippet:

group "rbl" {
    .include "$CONFDIR/scores.d/rbl_group.conf"
    .include(try=true; priority=1; duplicate=merge)
"$LOCAL_CONFDIR/local.d/rbl_group.conf"
    .include(try=true; priority=10)
"$LOCAL_CONFDIR/override.d/rbl_group.conf"
}



More information about the Users mailing list