2
0
Эх сурвалжийг харах

[Postfix] Set CA path for smtpd
[Rspamd] Split deprecated metrics.conf to actions.conf and groups.conf

andryyy 5 жил өмнө
parent
commit
ad1f243667

+ 1 - 0
data/conf/postfix/main.cf

@@ -104,6 +104,7 @@ relay_domains = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_relay_domain_map
 relay_recipient_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_relay_recipient_maps.cf
 sender_dependent_default_transport_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sender_dependent_default_transport_maps.cf
 smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
+smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
 smtp_tls_cert_file = /etc/ssl/mail/cert.pem
 smtp_tls_key_file = /etc/ssl/mail/key.pem
 smtp_tls_loglevel = 1

+ 3 - 0
data/conf/rspamd/local.d/actions.conf

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

+ 30 - 0
data/conf/rspamd/local.d/groups.conf

@@ -0,0 +1,30 @@
+symbol "MAILCOW_AUTH" {
+  description = "mailcow authenticated";
+  score = -20.0;
+}
+
+group "MX" {
+  symbol "MX_INVALID" {
+    score = 0.5;
+    description = "No connectable MX";
+    one_shot = true;
+  }
+  symbol "MX_MISSING" {
+    score = 2.0;
+    description = "No MX record";
+    one_shot = true;
+  }
+  symbol "MX_GOOD" {
+    score = -0.01;
+    description = "MX was ok";
+    one_shot = true;
+  }
+}
+
+symbol "CTYPE_MIXED_BOGUS" {
+  score = 0.0;
+}
+
+symbol "BAD_REP_POLICIES" {
+  score = 2.5;
+}

+ 0 - 36
data/conf/rspamd/local.d/metrics.conf

@@ -1,36 +0,0 @@
-actions {
-	reject = 15;
-	add_header = 8;
-	greylist = 7;
-}
-
-symbol "MAILCOW_AUTH" {
-	description = "mailcow authenticated";
-	score = -20.0;
-}
-
-group "MX" {
-	symbol "MX_INVALID" {
-	  score = 0.5;
-	  description = "No connectable MX";
-	  one_shot = true;
-	}
-	symbol "MX_MISSING" {
-	  score = 2.0;
-	  description = "No MX record";
-	  one_shot = true;
-	}
-	symbol "MX_GOOD" {
-	  score = -0.01;
-	  description = "MX was ok";
-	  one_shot = true;
-	}
-}
-
-symbol "CTYPE_MIXED_BOGUS" {
-  score = 0.0;
-}
-
-symbol "BAD_REP_POLICIES" {
-  score = 2.5;
-}