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

Vsevolod Stakhov vsevolod at rspamd.com
Wed Nov 7 19:43:10 UTC 2018


On 07/11/2018 15:35, Kai Schaetzl wrote:
> 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.

Add `want_spam = yes` instead as suggested in the documentation. It will
likely resolve your issue.

> 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 ?

https://rspamd.com/doc/faq.html#how-to-change-score-for-some-symbol



More information about the Users mailing list