aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>2024-05-16 02:47:18 +0300
committerGitHub <noreply@github.com>2024-05-16 02:47:18 +0300
commite8d2ef375f50ff87309c6681a40893f7b14f914d (patch)
treef8fcc3ccba719bf44fe3613c6d9b4133ba67d79e
parentb80178fd4a5db3eafaea33974700c202ac1106f3 (diff)
downloadrspamd-e8d2ef375f50ff87309c6681a40893f7b14f914d.tar.gz
rspamd-e8d2ef375f50ff87309c6681a40893f7b14f914d.zip
Create bayes_expiry.conf
-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"
+}