]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Create bayes_expiry.conf
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Wed, 15 May 2024 23:47:18 +0000 (02:47 +0300)
committerGitHub <noreply@github.com>
Wed, 15 May 2024 23:47:18 +0000 (02:47 +0300)
conf/modules.d/bayes_expiry.conf [new file with mode: 0644]

diff --git a/conf/modules.d/bayes_expiry.conf b/conf/modules.d/bayes_expiry.conf
new file mode 100644 (file)
index 0000000..be63ff9
--- /dev/null
@@ -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"
+}