mirror of
https://github.com/rspamd/rspamd.git
synced 2024-09-09 22:25:58 +02:00
![Andrew Lewis](/assets/img/avatar_default.png)
- Also some new features for Check Rspamc function - Run rspamd/rspamc with LD_LIBRARY_PATH
39 lines
708 B
Plaintext
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/"
|
|
}
|