aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf8
1 files changed, 7 insertions, 1 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 2005c8da..247d9ef4 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -926,7 +926,8 @@ class ServerEdit(Frame, MyWidget):
def refreshPort(self):
proto = self.protocol.get()
- self.port.set(defaultports[proto])
+ if self.port.get() == 0:
+ self.port.set(defaultports[proto])
if not proto in ("POP3", "APOP", "KPOP"): self.uidl.state = DISABLED
def user_edit(self, username, mode):
@@ -1171,6 +1172,11 @@ option on all user entries associated with this server, so any stuck
mail will be retrieved next time around.
"""
+ if string.find(greetline, "POP3 Server Ready") > 0:
+ warnings = warnings + """
+Some server that uses this greeting line has been observed to choke on
+TOP %d 99999999. Use the fetchall option. if necessary, to force RETR.
+"""
if string.find(greetline, "IMAP4rev1") > 0:
warnings = warnings + """
I see an IMAP4rev1 server. Excellent. This is (a) the best kind of