+
+#ifdef __CYGWIN__
+
+ /*
+ * On systems with b0rken or non-standard resolver libraries, learn
+ * the MX records by calling "nslookup" from the command line.
+ */
+ sprintf(buf, "nslookup -query=mx %s", dest);
+ fp = popen(buf, "r");
+ if (fp == NULL) return(0);
+ while (fgets(buf, sizeof buf, fp) != NULL) {
+ buf[strlen(buf) - 1] = 0;
+ lprintf(9, "RESOLV: %s\n", buf);
+ }
+ pclose(fp);
+ return(0); /* FIXME */
+
+#else /* __CYGWIN__ */
+
+ /*
+ * Make a call to the standard resolver library.
+ */
+