added relay domains to local doamin lsits
fixed bad policy in sql bug
fixed policy sync
flag acocunts a local