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

Merge branch 'master' of https://github.com/mailcow/mailcow-dockerized

andryyy 4 жил өмнө
parent
commit
c28bea6a53

+ 5 - 0
data/conf/rspamd/local.d/composites.conf

@@ -6,6 +6,11 @@ VIRUS_FOUND {
   expression = "CLAM_VIRUS & !MAILCOW_WHITE";
   score = 2000.0;
 }
+# Bad policy from free mail providers
+FREEMAIL_POLICY_FAILURE {
+  expression = " -g+:policies & !DMARC_POLICY_ALLOW & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
+  score = 16.0;
+}
 # Bad policy from non-whitelisted senders
 # Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
 SOGO_CONTACT_EXCLUDE {