Skip to content
Snippets Groups Projects
Commit d4aaac99 authored by rswindell's avatar rswindell
Browse files

Added error log entry if failed to resolve DNS server address.

parent e53b4da8
No related branches found
No related tags found
No related merge requests found
......@@ -2430,8 +2430,11 @@ static void sendmail_thread(void* arg)
bounce(&smb,&msg,err,TRUE);
continue;
}
if((dns=resolve_ip(startup->dns_server))==0)
if((dns=resolve_ip(startup->dns_server))==0) {
lprintf("0000 !SEND INVALID DNS server address: %s"
,startup->dns_server);
continue;
}
p++;
lprintf("0000 SEND getting MX records for %s from %s",p,startup->dns_server);
if((i=dns_getmx(p, mx, mx2, startup->interface_addr, dns
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment