From 2ce40ef7d40cf2092df3c17b5cd286417e5f6e67 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 6 Jan 2006 13:15:46 +0000 Subject: Add workaround for b0rked POP3 TOP command in Maillennium servers (comcast.net). svn path=/branches/BRANCH_6-3/; revision=4606 --- pop3.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 12f2d999..df85e3e6 100644 --- a/pop3.c +++ b/pop3.c @@ -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); -- cgit v1.2.3