diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-01-06 13:15:46 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-01-06 13:15:46 +0000 |
commit | 2ce40ef7d40cf2092df3c17b5cd286417e5f6e67 (patch) | |
tree | d0e7c0498b7d78ccb2f06fe46d7cea10d1f182e6 /pop3.c | |
parent | cd14f33ceb42ef6a90abe094dd2e36cc4e37fa98 (diff) | |
download | fetchmail-2ce40ef7d40cf2092df3c17b5cd286417e5f6e67.tar.gz fetchmail-2ce40ef7d40cf2092df3c17b5cd286417e5f6e67.tar.bz2 fetchmail-2ce40ef7d40cf2092df3c17b5cd286417e5f6e67.zip |
Add workaround for b0rked POP3 TOP command in Maillennium servers (comcast.net).
svn path=/branches/BRANCH_6-3/; revision=4606
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -611,6 +611,12 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) #endif set_peek_capable(ctl); + /* comcast's Maillennium POP3/PROXY is full of bugs and truncates + * TOP replies after c. 80 kByte, so disable TOP. */ + if (peek_capable && strstr(greeting, "Maillennium POP3/PROXY server")) { + report(stdout, GT_("Warning: Maillennium POP3/PROXY server found, using RETR command.\n")); + peek_capable = 0; + } /* we're approved */ return(PS_SUCCESS); |