aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2020-12-17 12:58:39 +0200
committerAndrew Lewis <nerf@judo.za.org>2020-12-17 12:58:39 +0200
commit5104d145d7b1d0059c81bfcb43180c6b6e6514e2 (patch)
tree016d1a832eae9b02d9be645be4623860d99a3ed3 /conf/modules.d
parent1710451544a6e4e37d7865c088782f99d8082360 (diff)
downloadrspamd-5104d145d7b1d0059c81bfcb43180c6b6e6514e2.tar.gz
rspamd-5104d145d7b1d0059c81bfcb43180c6b6e6514e2.zip
[Minor] Move http_headers to plugin
- Support multiple DKIM results - Insert DKIM trace symbols - Always disable callbacks if we got a header - Make the plugin default-disabled - Disable callbacks instead of virtual symbols
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/http_headers.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/conf/modules.d/http_headers.conf b/conf/modules.d/http_headers.conf
new file mode 100644
index 000000000..51e5b82f8
--- /dev/null
+++ b/conf/modules.d/http_headers.conf
@@ -0,0 +1,22 @@
+# Please don't modify this file as your changes might be overwritten with
+# the next update.
+#
+# You can modify 'local.d/http_headers.conf' to add and merge
+# parameters defined inside this section
+#
+# You can modify 'override.d/http_headers.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/http_headers.html
+
+http_headers {
+ # This module is default-disabled
+ enabled = false;
+
+ .include(try=true,priority=5) "${DBDIR}/dynamic/http_headers.conf"
+ .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/http_headers.conf"
+ .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/http_headers.conf"
+}