You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-07-13 01:20:28 +02:00
Ensure we REJECT when we don't have a DMARC policy
This restores the old behaviour
This commit is contained in:
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";
|
||||||
|
}
|
Reference in New Issue
Block a user