First Shot
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
This commit is contained in:
5
Stable2.0/conf/override.d/logging.inc
Normal file
5
Stable2.0/conf/override.d/logging.inc
Normal file
@ -0,0 +1,5 @@
|
||||
level = "silent";
|
||||
type = "console";
|
||||
systemd = false;
|
||||
.include "$CONFDIR/logging.inc"
|
||||
.include(try=true; priority=20) "$CONFDIR/override.d/logging.custom.inc"
|
4
Stable2.0/conf/override.d/ratelimit.conf
Normal file
4
Stable2.0/conf/override.d/ratelimit.conf
Normal file
@ -0,0 +1,4 @@
|
||||
whitelisted_rcpts = "postmaster,mailer-daemon";
|
||||
max_rcpt = 25;
|
||||
custom_keywords = "/etc/rspamd/lua/ratelimit.lua";
|
||||
info_symbol = "RATELIMITED";
|
7
Stable2.0/conf/override.d/worker-controller.inc
Normal file
7
Stable2.0/conf/override.d/worker-controller.inc
Normal file
@ -0,0 +1,7 @@
|
||||
bind_socket = "*:11334";
|
||||
count = 1;
|
||||
secure_ip = "127.0.0.1";
|
||||
secure_ip = "::1";
|
||||
bind_socket = "/var/lib/rspamd/rspamd.sock mode=0666 owner=nobody";
|
||||
.include(try=true; priority=10) "$CONFDIR/override.d/worker-controller-password.inc"
|
||||
.include(try=true; priority=30) "$CONFDIR/override.d/worker-controller.custom.inc"
|
12
Stable2.0/conf/override.d/worker-fuzzy.inc
Normal file
12
Stable2.0/conf/override.d/worker-fuzzy.inc
Normal file
@ -0,0 +1,12 @@
|
||||
# Socket to listen on (UDP and TCP from rspamd 1.3)
|
||||
bind_socket = "*:11445";
|
||||
allow_update = ["127.0.0.1", "::1"];
|
||||
# Number of processes to serve this storage (useful for read scaling)
|
||||
count = 1;
|
||||
# Backend ("sqlite" or "redis" - default "sqlite")
|
||||
backend = "redis";
|
||||
# Hashes storage time (3 months)
|
||||
expire = 90d;
|
||||
# Synchronize updates to the storage each minute
|
||||
sync = 1min;
|
||||
|
4
Stable2.0/conf/override.d/worker-normal.inc
Normal file
4
Stable2.0/conf/override.d/worker-normal.inc
Normal file
@ -0,0 +1,4 @@
|
||||
bind_socket = "*:11333";
|
||||
task_timeout = 25s;
|
||||
count = 1;
|
||||
.include(try=true; priority=30) "$CONFDIR/override.d/worker-normal.custom.inc"
|
9
Stable2.0/conf/override.d/worker-proxy.inc
Normal file
9
Stable2.0/conf/override.d/worker-proxy.inc
Normal file
@ -0,0 +1,9 @@
|
||||
bind_socket = "rspamd:9900";
|
||||
milter = true;
|
||||
upstream "local" {
|
||||
name = "localhost";
|
||||
default = true;
|
||||
hosts = "rspamd:11333"
|
||||
}
|
||||
reject_message = "This message does not meet our delivery requirements";
|
||||
.include(try=true; priority=30) "$CONFDIR/override.d/worker-proxy.custom.inc"
|
Reference in New Issue
Block a user