mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-06 03:54:12 +02:00
[Postfix] Set CA path for smtpd
[Rspamd] Split deprecated metrics.conf to actions.conf and groups.conf
This commit is contained in:
parent
e775a58df0
commit
ad1f243667
@ -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
data/conf/rspamd/local.d/actions.conf
Normal file
3
data/conf/rspamd/local.d/actions.conf
Normal file
@ -0,0 +1,3 @@
|
||||
reject = 15;
|
||||
add_header = 8;
|
||||
greylist = 7;
|
30
data/conf/rspamd/local.d/groups.conf
Normal file
30
data/conf/rspamd/local.d/groups.conf
Normal 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;
|
||||
}
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user