aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-07 21:45:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-07 21:45:29 +0000
commit91587b7bf72d582b6544e7617cbaf7a18dea0da2 (patch)
tree2994d5482b946b917f2abae51b1ec2b1956e5b20
parent6c83adb8c65f9a19ee28d3912fd7a2aebacd790e (diff)
downloadfetchmail-91587b7bf72d582b6544e7617cbaf7a18dea0da2.tar.gz
fetchmail-91587b7bf72d582b6544e7617cbaf7a18dea0da2.tar.bz2
fetchmail-91587b7bf72d582b6544e7617cbaf7a18dea0da2.zip
Make it smart about APOP.
svn path=/trunk/; revision=1928
-rwxr-xr-xfetchmailconf18
1 files changed, 15 insertions, 3 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 1480d3dd..715f2b48 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -12,9 +12,11 @@
# Version 0.94 beta: Thu Jun 4 12:09:06 EDT 1998
# Version 0.95 beta: Fri Jun 5 11:47:07 EDT 1998
#
+# Version 1.0:
+#
# TO DO: Arrange for save and quit buttons to clean up all frames dependent
# on the current ones.
-version = "0.95 beta";
+version = "1.0"
from Tkinter import *
from Dialog import *
@@ -927,9 +929,11 @@ class ServerEdit(Frame, MyWidget):
if greetline == None:
title = "Autoprobe of " + realhost + " failed"
confirm = """
-Fetchmail didn't find any mailservers active.
+Fetchmailconf didn't find any mailservers active.
This could mean the host doesn't support any,
-or just that your Internet connection is down.
+or that your Internet connection is down, or
+that the host is so slow that the probe timed
+out before getting a response.
"""
else:
warnings = ''
@@ -975,6 +979,14 @@ This appears to be a version of Eudora qpopper. That's good. Fetchmail
knows all about qpopper.
"""
+ closebrak = string.find(greetline, ">")
+ if closebrak > 0 and greetline[closebrak+1] == "\r":
+ warnings = warnings + """
+It looks like you could use APOP on this server and avoid sending it your
+password in clear. You should talk to the mailserver administrator about
+this.
+
+"""
if string.find(greetline, "csi.com") > 0:
warnings = warnings + """
It appears you're talking to CompuServe. You can use their special RPA