public boolean isLocal() {
synchronized(local) {
if (local.contains(host)) return true;
- InetAddress[] mx = SMTP.getMailExchangerIPs(host);
+ InetAddress[] mx = DNSUtil.getMailExchangerIPs(host);
for(int i=0; i<mx.length; i++) {
try { if (NetworkInterface.getByInetAddress(mx[i]) != null) {
local.add(host);