From e8d2ef375f50ff87309c6681a40893f7b14f914d Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Thu, 16 May 2024 02:47:18 +0300 Subject: [PATCH] Create bayes_expiry.conf --- conf/modules.d/bayes_expiry.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 conf/modules.d/bayes_expiry.conf diff --git a/conf/modules.d/bayes_expiry.conf b/conf/modules.d/bayes_expiry.conf new file mode 100644 index 0000000000..be63ff9bc2 --- /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" +} -- 2.47.3