1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-14 10:52:49 +02:00
mailcow-dockerized/data/conf/rspamd/local.d/composites.conf

29 lines
787 B
Plaintext
Raw Normal View History

2017-09-19 09:19:22 +02:00
MX_IMPLICIT {
expression = "MX_GOOD & MX_MISSING";
score = -0.01;
}
VIRUS_FOUND {
expression = "CLAM_VIRUS & !MAILCOW_WHITE";
score = 2000;
2017-09-19 09:19:22 +02:00
}
SPF_FAIL_NO_DKIM {
expression = "R_SPF_FAIL & R_DKIM_NA & !MAILCOW_WHITE";
score = 10;
}
SOGO_CONTACT_EXCLUDE_FWD_HOST {
expression = "WHITELISTED_FWD_HOST & ~SOGO_CONTACT";
}
SOGO_CONTACT_SPOOFED {
expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT";
}
2019-04-14 20:37:38 +02:00
SPOOFED_UNAUTH {
2019-05-20 15:14:42 +02:00
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !R_SPF_ALLOW & !DMARC_POLICY_ALLOW & !ARC_ALLOW & !SIEVE_HOST & MAILCOW_DOMAIN_HEADER_FROM";
2019-04-14 20:37:38 +02:00
score = 5.0;
}
# Only apply to inbound unauthed and not whitelisted
2019-06-16 17:35:24 +02:00
OLEFY_MACRO {
expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & OLETOOLS";
2019-06-20 10:18:43 +02:00
score = 20.0;
2019-06-16 17:35:24 +02:00
policy = "remove_weight";
}