mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
Ensure we REJECT when we don't have a DMARC policy
This restores the old behaviour
This commit is contained in:
parent
0204c9e59d
commit
f7b3aad831
7
core/rspamd/conf/force_actions.conf
Normal file
7
core/rspamd/conf/force_actions.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
rules {
|
||||||
|
WHITELIST_EXCEPTION {
|
||||||
|
action = "reject";
|
||||||
|
expression = "(AUTH_NA|BLACKLIST_ANTISPOOF) & IS_LOCAL_DOMAIN";
|
||||||
|
message = "Rejected (anti-spoofing)";
|
||||||
|
}
|
||||||
|
}
|
5
core/rspamd/conf/multimap.conf
Normal file
5
core/rspamd/conf/multimap.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
IS_LOCAL_DOMAIN {
|
||||||
|
type = "from";
|
||||||
|
filter = "email:domain";
|
||||||
|
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user