aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-02 20:23:16 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-10-02 20:23:16 +0400
commitce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977 (patch)
treeaa9db8b8c40ce43d504750f03f781652c16ea727 /src/cfg_utils.c
parentf3ad9c6f1e91c9912dbe730fdec350b5fc908672 (diff)
downloadrspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.tar.gz
rspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.zip
* Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)
* Add rspamc protocol 1.1 (3 marks instead of 2)
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 9387ca36f..a1113f516 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -520,6 +520,7 @@ post_load_config (struct config_file *cfg)
def_metric->func_name = "factors";
def_metric->func = factor_consolidation_func;
def_metric->required_score = DEFAULT_SCORE;
+ def_metric->reject_score = DEFAULT_REJECT_SCORE;
def_metric->classifier = get_classifier ("winnow");
cfg->metrics_list = g_list_prepend (cfg->metrics_list, def_metric);
g_hash_table_insert (cfg->metrics, DEFAULT_METRIC, def_metric);