bundles/rspamd: introduce, add to htz.ex42-1048908
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-11-08 10:43:51 +01:00
parent a236444fe5
commit 15428b03be
Signed by: kunsi
GPG key ID: 12E3D2136B818350
14 changed files with 179 additions and 7 deletions

View file

@ -0,0 +1,4 @@
# TODO
path = "/var/lib/rspamd/dkim/$selector.key";
selector = "2019";
allow_username_mismatch = true;

View file

@ -0,0 +1,3 @@
% for ip in sorted(node.metadata.get('rspamd', {}).get('ignore_spam_check_for_ips', set())):
${ip}
% endfor

View file

@ -0,0 +1 @@
backend = "redis";

View file

@ -0,0 +1,2 @@
systemd = true;
type = "console";

View file

@ -0,0 +1,2 @@
use = ["x-spamd-bar", "x-spam-level", "authentication-results"];
authenticated_headers = ["authentication-results"];

View file

@ -0,0 +1,6 @@
IP_WHITELIST {
type = "ip";
prefilter = true;
map = "/etc/rspamd/local.d/ip_whitelist.map";
action = "accept";
}

View file

@ -0,0 +1 @@
servers = "127.0.0.1";

View file

@ -0,0 +1 @@
bind_socket = "localhost:11333";

View file

@ -0,0 +1,7 @@
bind_socket = "localhost:11332";
milter = yes;
timeout = 120s;
upstream "local" {
default = yes;
self_scan = yes;
}

View file

@ -0,0 +1,6 @@
clamav {
servers = "/run/clamav/clamd.ctl";
action = "reject";
type = "clamav";
symbol = "CLAM_VIRUS";
}

View file

@ -0,0 +1 @@
password = "${node.metadata['rspamd']['password']}";