summaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-06 14:45:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-06 14:45:05 +0000
commitfd0c058c5dde830ea2d8a628a31cdb86cbeef939 (patch)
treebcf1b48ea9299a5ee7381564f6bf63ec48ad1675 /conf/modules.d
parentf6dc828c3d8c015779eea7fb662198c6d58def14 (diff)
downloadrspamd-fd0c058c5dde830ea2d8a628a31cdb86cbeef939.tar.gz
rspamd-fd0c058c5dde830ea2d8a628a31cdb86cbeef939.zip
[Feature] BIMI: Add preliminary version of the BIMI plugin
Issue: #3935
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/bimi.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/conf/modules.d/bimi.conf b/conf/modules.d/bimi.conf
new file mode 100644
index 000000000..63c0f7135
--- /dev/null
+++ b/conf/modules.d/bimi.conf
@@ -0,0 +1,29 @@
+# Please don't modify this file as your changes might be overwritten with
+# the next update.
+#
+# You can modify 'local.d/asn.conf' to add and merge
+# parameters defined inside this section
+#
+# You can modify 'override.d/asn.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/asn.html
+
+bimi {
+ # Required attributes
+ #helper_url = "http://127.0.0.1:3030",
+ helper_timeout = 5s;
+ helper_sync = true;
+ vmc_only = true;
+ redis_prefix = 'rs_bimi';
+ redis_min_expiry = 24h;
+
+ # Enable in local.d/bimi.conf
+ enabled = false;
+ .include(try=true,priority=5) "${DBDIR}/dynamic/bimi.conf"
+ .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/bimi.conf"
+ .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/bimi.conf"
+} \ No newline at end of file