[Postfix] Set CA path for smtpd

[Rspamd] Split deprecated metrics.conf to actions.conf and groups.conf
master
andryyy 2020-01-05 11:20:55 +01:00
parent e775a58df0
commit ad1f243667
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
4 changed files with 34 additions and 36 deletions

View File

@ -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

View File

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

View File

@ -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;
}

View File

@ -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;
}