Updated configs

This commit is contained in:
2024-06-02 15:33:08 +02:00
parent d13fef662d
commit 46a76764ad
20 changed files with 9 additions and 9 deletions

View File

@ -0,0 +1,3 @@
reject = 15;
add_header = 8;
greylist = 7;

View File

@ -0,0 +1,11 @@
clamav {
# Scan whole message
scan_mime_parts = false;
#scan_text_mime = true;
#scan_image_mime = true;
symbol = "CLAM_VIRUS";
type = "clamav";
log_clean = true;
servers = "/var/run/clamav/clamd.ctl";
max_size = 20971520;
}

View File

@ -0,0 +1,16 @@
sign_authenticated = true;
sign_local = true;
domain {
danwin1210.de {
selectors [
{
path: "/var/lib/rspamd/dkim/danwin1210.de-rsa";
selector: "20211204-rsa";
},
{
path: "/var/lib/rspamd/dkim/danwin1210.de-ed25519";
selector: "20211204-ed25519";
}
]
}
}

View File

@ -0,0 +1 @@
autolearn = true;

View File

@ -0,0 +1,20 @@
use_domain = "header";
use_domain_sign_networks = "header";
use_domain_sign_local = "header";
allow_username_mismatch = true;
allow_hdrfrom_mismatch = true;
try_fallback = false;
domain {
danwin1210.de {
selectors [
{
path: "/var/lib/rspamd/dkim/danwin1210.de-rsa";
selector: "20211204-rsa";
},
{
path: "/var/lib/rspamd/dkim/danwin1210.de-ed25519";
selector: "20211204-ed25519";
}
]
}
}

View File

@ -0,0 +1 @@
enabled = false;

View File

@ -0,0 +1,15 @@
symbols {
"CLAM_VIRUS" {
"weight": 10.0
}
"CLAM_VIRUS_ENCRYPTED" {
"weight": 1.0
}
"CLAM_VIRUS_MACRO" {
"weight": 1.0
}
"AUTHENTICATED_USER" {
description = "authenticated user should receive higher scoring to prevent outgoing spam";
score = 5.0;
}
}

View File

@ -0,0 +1,4 @@
type = console
systemd = true
color = true
level = notice

View File

@ -0,0 +1,3 @@
dns {
enable_dnssec = true;
}

View File

@ -0,0 +1 @@
phishtank_enabled = false;

View File

@ -0,0 +1,24 @@
whitelisted_rcpts = ["postmaster", "mailer-daemon", "daniel@danwin1210.de"]
whitelisted_user = ["daniel@danwin1210.de"]
rates {
to = {
bucket = {
burst = 20;
rate = 1 / 1m;
}
}
sending_limit_2_per_min {
selector = 'user.lower.append("sending_limit_2_per_min")';
bucket = {
burst = 20;
rate = 2 / 1m;
}
}
sending_limit_500_per_day {
selector = 'user.lower.append("sending_limit_500_per_day")';
bucket = {
burst = 400;
rate = 50 / 3h;
}
}
}

View File

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

View File

@ -0,0 +1,5 @@
symbols {
"BAYES_SPAM" {
"score": 7.0
}
}

View File

@ -0,0 +1,10 @@
count = 1;
keypair {
privkey = "YOUR_PRIVATE_KEY";
type = "kex";
algorithm = "curve25519";
id = "YOUR_ID";
pubkey = "YPUR_PUBLIC_KEY";
encoding = "base32";
}
encrypted_only = true;

View File

@ -0,0 +1 @@
bind_socket = "*:11332";