diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-09-13 06:33:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-09-13 06:33:22 +0000 |
commit | 8e9d4c515f4b57e1bee1d6ec3b89702986d7403a (patch) | |
tree | 7aa3f195930adfd86ff214c2693bcd848aa4e354 | |
parent | d4b16eb2e94653b877e60f2c79d79310a84067a9 (diff) | |
download | fetchmail-8e9d4c515f4b57e1bee1d6ec3b89702986d7403a.tar.gz fetchmail-8e9d4c515f4b57e1bee1d6ec3b89702986d7403a.tar.bz2 fetchmail-8e9d4c515f4b57e1bee1d6ec3b89702986d7403a.zip |
Always get fqdn for KPOP, whether or not DNS is enabled.
svn path=/trunk/; revision=2072
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | fetchmail.c | 11 |
2 files changed, 7 insertions, 10 deletions
@@ -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. |