From 8e9d4c515f4b57e1bee1d6ec3b89702986d7403a Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Sun, 13 Sep 1998 06:33:22 +0000
Subject: Always get fqdn for KPOP, whether or not DNS is enabled.

svn path=/trunk/; revision=2072
---
 NEWS        |  6 ++++++
 fetchmail.c | 11 +----------
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/NEWS b/NEWS
index 49aafd93..b7517349 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
 				Release Notes:
 
+fetchmail-4.6.0 ():
+* Added Bill Adams's mailqueue.pl to the contrib directory.
+* Try to enable KPOP initialization to wok even if `no dns' is on.
+
+There are 252 people on fetchmail-friends and 278 on fetchmail-announce.
+
 fetchmail-4.5.8 (Tue Sep  8 12:06:26 EDT 1998):
 
 * Prevent fetchmailconf from adding an additional layer of quotes on
diff --git a/fetchmail.c b/fetchmail.c
index a5256c02..41cff121 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -878,17 +878,8 @@ static int load_params(int argc, char **argv, int optind)
 	    if ((ctl->server.protocol == P_ETRN
 			 || ctl->server.preauthenticate == A_KERBEROS_V4
 			 || ctl->server.preauthenticate == A_KERBEROS_V5))
-		if (ctl->server.dns)
-		{
-		    if (strcmp(fetchmailhost, "localhost") == 0)
+		if (strcmp(fetchmailhost, "localhost") == 0)
 			fetchmailhost = host_fqdn();
-		}
-		else
-		{
-		    fprintf(stderr, "DNS is required for %s protocol",
-			    showproto(ctl->server.protocol));
-		    exit(PS_DNS);
-		}
 
 	    /*
 	     * Make sure we have a nonempty host list to forward to.
-- 
cgit v1.2.3