rspamd/test/functional/configs/plugins.conf
Andrew Lewis f0349d47ad [Test] Some basic functional tests for mime_types module & archives
- Also some new features for Check Rspamc function
 - Run rspamd/rspamc with LD_LIBRARY_PATH
2016-07-10 13:39:33 +02:00

39 lines
708 B
Plaintext

options = {
pidfile = "${TMPDIR}/rspamd.pid"
}
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
}
mime_types {
file = "${TESTDIR}/../../../conf/mime_types.inc";
extension_map {
html = "text/html";
txt [
"message/disposition-notification",
"text/plain",
"text/rfc822-headers",
]
pdf [
"application/octet-stream",
"application/pdf",
]
}
}
modules {
path = "${TESTDIR}/../../src/plugins/lua/"
}