[Rspamd] Change spoofed mail handling

master
andryyy 2019-05-09 11:48:38 +02:00
parent 456e92c830
commit 5c07cca529
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 1 additions and 9 deletions

View File

@ -17,6 +17,6 @@ SOGO_CONTACT_SPOOFED {
expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT"; expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT";
} }
SPOOFED_UNAUTH { SPOOFED_UNAUTH {
expression = "UNAUTH_MAILCOW_DOMAIN & !MAILCOW_WHITE & !R_SPF_ALLOW"; expression = "!MAILCOW_AUTH & !MAILCOW_WHITE & !R_SPF_ALLOW & !DMARC_POLICY_ALLOW";
score = 5.0; score = 5.0;
} }

View File

@ -83,11 +83,3 @@ GLOBAL_RCPT_BL {
prefilter = true; prefilter = true;
action = "reject"; action = "reject";
} }
UNAUTH_MAILCOW_DOMAIN {
type = "header";
header = "from";
filter = "email:domain";
nflags = ["authenticated"];
map = "redis://DOMAIN_MAP";
}