Revert "Admin may not have started up when this loads"

This reverts commit 0f17299b4e.
main
Florent Daigniere 2 years ago
parent 0f17299b4e
commit d8cf0c3848

@ -1,15 +1,11 @@
IS_LOCAL_DOMAIN_H {
type = "selector"
selector = "from('mime'):domain";
map = [
"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains",
"fallback+file:///dev/null"];
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
}
IS_LOCAL_DOMAIN_E {
type = "selector"
selector = "from('smtp'):domain";
map = [
"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains",
"fallback+file:///dev/null"];
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
}

@ -2,7 +2,7 @@ rules {
BLACKLIST_ANTISPOOF = {
valid_dmarc = true;
blacklist = true;
domains = ["http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains", "fallback+file:///dev/null"];
domains = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
score = 0.0;
}
}

Loading…
Cancel
Save