[Rspamd-Users] How to exclude authenticated users from checks?

Kai Schaetzl maillists at conactive.com
Wed Nov 7 15:35:15 UTC 2018


Kai Schaetzl wrote on Tue, 06 Nov 2018 15:36:40 +0100:

> apply "default" {
>             #groups_disabled = ["rbl", "spf", "statistics"];
>             groups_enabled = [""];

two things:

groups_enabled = [""];
makes the whole entry disappear from the history in the webui?
Shouldn't it get listed, anyway? This way it looks like no message got 
processed.

apply "default" {
(from examples, for instance rspamd.conf.local

should be:
apply {

Then something like this works:

authenticated {
        priority = high;
        authenticated = yes;
        # for a specific user
        # user = "...";
        apply {
            groups_disabled = ["rbl", "spf", "neural", "policies"];
            symbols ["WHITELIST_AUTHENTICATED"];
        }
    }
    

Which makes me ask where to add symbols and scores nowadays. Website says 
that metrics.conf is deprecated and to use actions.conf or groups.conf for 
adding them. I tried adding a symbol to actions.conf, then to 
rspamd.conf.local, but it isn't getting picked up. Do I have to enclose it 
with metrics { } ?
So, for the time being I added the symbols and scores to 
local.d/metrics.conf. That works.
Where and how is the recommended way? What about a local.d/symbols.conf ?

Kai






More information about the Users mailing list