diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-30 19:27:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-30 19:40:08 +0100 |
commit | ddcbe3942b37a765387a4257b559add9502f7821 (patch) | |
tree | e784dca0007228adf5b9d99ac39f3b7c62fa0b9b /src/libserver/cfg_rcl.c | |
parent | d7c3fa7fe56623e0d8a339a9b43c353e01676a90 (diff) | |
download | rspamd-ddcbe3942b37a765387a4257b559add9502f7821.tar.gz rspamd-ddcbe3942b37a765387a4257b559add9502f7821.zip |
[Minor] Add public_groups_only flag
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index d224b4029..2bdb6adc6 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1961,6 +1961,12 @@ rspamd_rcl_config_init (struct rspamd_config *cfg, GHashTable *skip_sections) 0, "Always check all filters"); rspamd_rcl_add_default_handler (sub, + "public_groups_only", + rspamd_rcl_parse_struct_boolean, + G_STRUCT_OFFSET (struct rspamd_config, public_groups_only), + 0, + "Output merely public groups everywhere"); + rspamd_rcl_add_default_handler (sub, "enable_experimental", rspamd_rcl_parse_struct_boolean, G_STRUCT_OFFSET (struct rspamd_config, enable_experimental), |