diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-02-28 15:33:25 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-02-28 15:33:25 +0200 |
commit | eaa7e99d39d42e5a794cb133028e8a19dc7e23dc (patch) | |
tree | bb3410da5e7b7ac15585676d6e17a3e7d2a0e6cf /test/functional/configs/pluginsplus.conf | |
parent | 3b89fbaaef6fbf0157e69f713232d9aca3cb13b8 (diff) | |
download | rspamd-eaa7e99d39d42e5a794cb133028e8a19dc7e23dc.tar.gz rspamd-eaa7e99d39d42e5a794cb133028e8a19dc7e23dc.zip |
[Test] Test URL tag persistence
Diffstat (limited to 'test/functional/configs/pluginsplus.conf')
-rw-r--r-- | test/functional/configs/pluginsplus.conf | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/functional/configs/pluginsplus.conf b/test/functional/configs/pluginsplus.conf new file mode 100644 index 000000000..2ce3df263 --- /dev/null +++ b/test/functional/configs/pluginsplus.conf @@ -0,0 +1,34 @@ +options = { + filters = ["spf", "dkim", "regexp"] + url_tld = "${URL_TLD}" + pidfile = "${TMPDIR}/rspamd.pid" + lua_path = "${TESTDIR}/../../contrib/lua-fun/?.lua" + dns { + nameserver = ["8.8.8.8", "8.8.4.4"]; + retransmits = 10; + timeout = 2s; + } +} +logging = { + type = "file", + level = "debug" + filename = "${TMPDIR}/rspamd.log" +} +metric = { + name = "default", + actions = { + reject = 100500, + } + unknown_weight = 1 +} +worker { + type = normal + bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL} + count = 1 + task_timeout = 60s; +} +modules { + path = "${TESTDIR}/../../src/plugins/lua/" +} +lua = "${LUA}"; +${PLUGIN_CONFIG} |