...
- Find all uri==myself tests and change them to (is_uri_host_local() || uri==myself) or
just is_uri_host_local(). It depends whether you want to accept uri with server name, server name aliases or server IPs in domain part in particular test.
- Find all from_uri==myself tests and change them to is_from_local(). This function checks from domain part against domain table
...