mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-26 05:27:29 +02:00
[Rspamd] Change spoofed mail handling
This commit is contained in:
parent
456e92c830
commit
5c07cca529
@ -17,6 +17,6 @@ SOGO_CONTACT_SPOOFED {
|
||||
expression = "(R_SPF_PERMFAIL | R_SPF_SOFTFAIL | R_SPF_FAIL) & ~SOGO_CONTACT";
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
@ -83,11 +83,3 @@ GLOBAL_RCPT_BL {
|
||||
prefilter = true;
|
||||
action = "reject";
|
||||
}
|
||||
|
||||
UNAUTH_MAILCOW_DOMAIN {
|
||||
type = "header";
|
||||
header = "from";
|
||||
filter = "email:domain";
|
||||
nflags = ["authenticated"];
|
||||
map = "redis://DOMAIN_MAP";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user