浏览代码

[Rspamd] Score for freemail from to undisclosed recipients

Dmitriy Alekseev 4 年之前
父节点
当前提交
d9d129047c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      data/conf/rspamd/local.d/composites.conf

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

@@ -11,6 +11,11 @@ FREEMAIL_POLICY_FAILURE {
   expression = "-g+:policies & !DMARC_POLICY_ALLOW & !MAILLIST & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
   expression = "-g+:policies & !DMARC_POLICY_ALLOW & !MAILLIST & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
   score = 16.0;
   score = 16.0;
 }
 }
+# Applies to freemail with undisclosed recipients
+FREEMAIL_TO_UNDISC_RCPT {
+  expression = "FREEMAIL_FROM & ( MISSING_TO | R_UNDISC_RCPT | TO_EQ_FROM )";
+  score = 5.0;
+}
 # Bad policy from non-whitelisted senders
 # Bad policy from non-whitelisted senders
 # Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
 # Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
 SOGO_CONTACT_EXCLUDE {
 SOGO_CONTACT_EXCLUDE {