aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/modules.d/bayes_expiry.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/conf/modules.d/bayes_expiry.conf b/conf/modules.d/bayes_expiry.conf
new file mode 100644
index 000000000..be63ff9bc
--- /dev/null
+++ b/conf/modules.d/bayes_expiry.conf
@@ -0,0 +1,25 @@
+# Please don't modify this file as your changes might be overwritten with
+# the next update.
+#
+# You can modify 'local.d/bayes_expiry.conf' to add and merge
+# parameters defined inside this section
+#
+# You can modify 'override.d/bayes_expiry.conf' to strictly override all
+# parameters defined inside this section
+#
+# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
+# for details
+#
+# Module documentation can be found at https://rspamd.com/doc/modules/bayes_expiry.html
+
+bayes_expiry {
+ interval = 60;
+ count = 1000;
+ epsilon_common = 0.01;
+ common_ttl = 10 * 86400;
+ significant_factor = 3.0 / 4.0;
+ cluster_nodes = 0;
+
+ .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/bayes_expiry.conf"
+ .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/bayes_expiry.conf"
+}