commit f03b4d1: Composites should not be recursive
GitHub
noreply at github.com
Wed Oct 19 20:28:04 UTC 2022
Author: Frederik Bosch
Date: 2022-10-12 11:53:44 +0200
URL: https://github.com/rspamd/rspamd/commit/f03b4d1c7cd1e160305cb39914c36e54d3f434ce
Composites should not be recursive
---
conf/composites.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/conf/composites.conf b/conf/composites.conf
index 543d7c46a..2952773e9 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -56,7 +56,7 @@ composites {
description = "Authenticating message via SPF/DKIM/DMARC/ARC not available";
}
AUTH_NA_OR_FAIL {
- expression = "!AUTH_NA & (R_DKIM_NA | R_DKIM_TEMPFAIL | R_DKIM_PERMFAIL) & (R_SPF_NA | R_SPF_DNSFAIL) & DMARC_NA & (ARC_NA | ARC_DNSFAIL)";
+ expression = "!(R_DKIM_NA & R_SPF_NA & DMARC_NA & ARC_NA) & (R_DKIM_NA | R_DKIM_TEMPFAIL | R_DKIM_PERMFAIL) & (R_SPF_NA | R_SPF_DNSFAIL) & DMARC_NA & (ARC_NA | ARC_DNSFAIL)";
score = 1.0;
policy = "remove_weight";
description = "Authenticating message via SPF/DKIM/DMARC/ARC not available or failed";
More information about the Commits
mailing list