mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-16 02:46:44 +02:00
Admin may not have started up when this loads
This commit is contained in:
parent
95a3a3d342
commit
0f17299b4e
@ -1,11 +1,15 @@
|
||||
IS_LOCAL_DOMAIN_H {
|
||||
type = "selector"
|
||||
selector = "from('mime'):domain";
|
||||
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
||||
map = [
|
||||
"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains",
|
||||
"fallback+file:///dev/null"];
|
||||
}
|
||||
|
||||
IS_LOCAL_DOMAIN_E {
|
||||
type = "selector"
|
||||
selector = "from('smtp'):domain";
|
||||
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
||||
map = [
|
||||
"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains",
|
||||
"fallback+file:///dev/null"];
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ rules {
|
||||
BLACKLIST_ANTISPOOF = {
|
||||
valid_dmarc = true;
|
||||
blacklist = true;
|
||||
domains = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
||||
domains = ["http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains", "fallback+file:///dev/null"];
|
||||
score = 0.0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user