aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-11-30 19:26:17 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-11-30 19:26:17 +0000
commit5ed86c7189f48e3fa40a1fe8de6c84407d0cf776 (patch)
treedd2c187e79a0fafe7a842c47d5f1d7fc7bdd42c1 /fetchmailconf
parent431c193b9526426f86b8b9c0d45f15e0439a882d (diff)
downloadfetchmail-5ed86c7189f48e3fa40a1fe8de6c84407d0cf776.tar.gz
fetchmail-5ed86c7189f48e3fa40a1fe8de6c84407d0cf776.tar.bz2
fetchmail-5ed86c7189f48e3fa40a1fe8de6c84407d0cf776.zip
Ready to ship 5.2.0.
svn path=/trunk/; revision=2656
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf24
1 files changed, 24 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf
index bc6117f2..6b618e38 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -1108,6 +1108,26 @@ you'll have to build it from sources yourself with the configure
switch --enable-POP2.
"""
+
+# The greeting line on the server known to be buggy is:
+# +OK POP3 server ready (running FTGate V2, 2, 1, 0 Jun 21 1999 09:55:01)
+#
+if string.find(greetline, "FTGate") > 0:
+ warnings = warnings + """
+This POP server has a weird bug; it says OK twice in response to TOP.
+Its response to RETR is normal, so use the `fetchall'.
+
+"""
+
+if string.find(greetline, "POP-Max") > 0:
+ warnings = warnings + """
+The Mail Max server screws up on mail with attachments. It reports the
+message size with attachments included, but doesn't downloasd them on a
+RETR or TOP. You should get rid of it -- and the brain-dead NT server
+it rode in on.
+
+"""
+
if string.find(greetline, "1.003") > 0 or string.find(greetline, "1.004") > 0:
warnings = warnings + """
This appears to be an old version of the UC Davis POP server. These are
@@ -1684,6 +1704,10 @@ def copy_instance(toclass, fromdict):
if __name__ == '__main__':
+ if not os.environ.has_key("DISPLAY"):
+ print "fetchmailconf must be run under X"
+ sys.exit(1)
+
fetchmail_gif = """
R0lGODdhPAAoAPcAAP///wgICBAQEISEhIyMjJSUlKWlpa2trbW1tcbGxs7Ozufn5+/v7//39yEY
GNa9tUoxKZyEe1o5KTEQAN7OxpyMhIRjUvfn3pxSKYQ5EO/Wxv/WvWtSQrVzSmtCKWspAMatnP/e