Admin may not have started up when this loads
parent
95a3a3d342
commit
0f17299b4e
@ -1,11 +1,15 @@
|
|||||||
IS_LOCAL_DOMAIN_H {
|
IS_LOCAL_DOMAIN_H {
|
||||||
type = "selector"
|
type = "selector"
|
||||||
selector = "from('mime'):domain";
|
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 {
|
IS_LOCAL_DOMAIN_E {
|
||||||
type = "selector"
|
type = "selector"
|
||||||
selector = "from('smtp'):domain";
|
selector = "from('smtp'):domain";
|
||||||
map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains";
|
map = [
|
||||||
|
"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains",
|
||||||
|
"fallback+file:///dev/null"];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue