diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-09-17 12:01:10 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-09-18 14:48:32 +0300 |
commit | f47afa34e8442adab3fa01b7c476432e40710f8b (patch) | |
tree | e777410ac956ac54acae9dd98921308c18ede3e1 /conf/modules.d/mid.conf | |
parent | f733c89e9297cff3dcaea5b02eeaa5eb3a640b94 (diff) | |
download | rspamd-f47afa34e8442adab3fa01b7c476432e40710f8b.tar.gz rspamd-f47afa34e8442adab3fa01b7c476432e40710f8b.zip |
[Feature] Add `mid` Lua module
Diffstat (limited to 'conf/modules.d/mid.conf')
-rw-r--r-- | conf/modules.d/mid.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/conf/modules.d/mid.conf b/conf/modules.d/mid.conf new file mode 100644 index 000000000..36639790a --- /dev/null +++ b/conf/modules.d/mid.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_CONFDIR/rspamd.conf.local.override' to redefine +# parameters defined on the top level +# +# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add +# parameters defined on the top level +# +# For specific modules or configuration you can also modify +# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults +# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults +# +# See https://rspamd.com/doc/tutorials/writing_rules.html for details + +mid = { + url = [ + "${CONFDIR}/mid.inc", + "$LOCAL_CONFDIR/local.d/mid.inc" + ]; + + .include(try=true,priority=5) "${DBDIR}/dynamic/mid.conf" + .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/mid.conf" + .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/mid.conf" +} |