tristan
Verified User
When updating Rspamd to 3.1-1 from 3.0-2~ on one of our Debian DirectAdmin servers we got this message:
Does anyone know whether /etc/rspamd/statistic.conf is a file modified by DirectAdmin at all?
Code:
Configuration file '/etc/rspamd/statistic.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** statistic.conf (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/rspamd/statistic.conf 2020-09-23 11:48:18.914961482 +0200
+++ /etc/rspamd/statistic.conf.dpkg-new 2020-02-17 00:10:27.000000000 +0100
@@ -43,12 +43,13 @@
learn_condition = 'return require("lua_bayes_learn").can_learn';
# Autolearn sample
- autolearn {
- spam_threshold = 6.0; # When to learn spam (score >= threshold)
- ham_threshold = -0.5; # When to learn ham (score <= threshold)
- check_balance = true; # Check spam and ham balance
- min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
- }
+ # autolearn {
+ # spam_threshold = 6.0; # When to learn spam (score >= threshold and action is reject)
+ # junk_threshold = 4.0; # When to learn spam (score >= threshold and action is rewrite subject or add header, and has two or more positive results)
+ # ham_threshold = -0.5; # When to learn ham (score <= threshold and action is no action, and score is negative or has three or more negative results)
+ # check_balance = true; # Check spam and ham balance
+ # min_balance = 0.9; # Keep diff for spam/ham learns for at least this value
+ #}
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/classifier-bayes.conf"
Does anyone know whether /etc/rspamd/statistic.conf is a file modified by DirectAdmin at all?