From: Jason W. <jas...@in...> - 2005-12-16 09:13:56
|
I initially raised this question on the fetchmail-friends list, but was wisely advised to test with 6.3.1-pre1 and bring the problem here. I am quite confident this is a protocol issue, but I don't know IMAP and Fetchmail well enough to debug it. For some reason, it appears that Fetchmail doesn't detect the final "OK" message from the server and simply times out after retrieving the headers. Using an MUA (e.g., muttng), I can successfully retrieve messages via IMAP from this server. For the moment, I have configured fetchmail to use pop3 instead as a work-around so I can read mail easily from this account. From syslog: Dec 16 18:40:02 jdc fetchmail[13415]: 6.3.1-pre1 querying mail.internode.on.net (protocol IMAP) at Fri Dec 16 18:40:02 2005: poll started Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * OK internode.on.net bld-mail04 Ready Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0001 CAPABILITY Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE QUOTA UIDPLUS IDLE XFLDDATA SURGEMAIL Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0001 OK CAPABILITY completed Dec 16 18:40:03 jdc fetchmail[13415]: Protocol identified as IMAP4 rev 1 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0002 LOGIN "jasonjgw" * Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0002 OK LOGIN completed Dec 16 18:40:03 jdc fetchmail[13415]: selecting or re-polling default folder Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0003 SELECT "INBOX" Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * 1 EXISTS Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * 0 RECENT Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * OK [UIDVALIDITY 1134522857] UIDs valid Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen)] Limited Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0003 OK [READ-WRITE] SELECT completed Dec 16 18:40:03 jdc fetchmail[13415]: 1 message waiting after first poll Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0004 EXPUNGE Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0004 OK EXPUNGE completed Dec 16 18:40:03 jdc fetchmail[13415]: 1 message waiting after expunge Dec 16 18:40:03 jdc fetchmail[13415]: 1 message for jasonjgw at mail.internode.on.net. Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0005 FETCH 1 RFC822.SIZE Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * 1 FETCH (UID 16 RFC822.SIZE 1447) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0005 OK FETCH completed Dec 16 18:40:03 jdc fetchmail[13415]: IMAP> A0006 FETCH 1 RFC822.HEADER Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< * 1 FETCH (UID 16 RFC822.HEADER {1360} Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Received: from beatrice.nipl.net (unverified [62.94.93.142]) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Iby mail.internode.on.net (SurgeMail 3.2f) with ESMTP id 4426396 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Ifor <jas...@in...>; Fri, 16 Dec 2005 18:09:13 +1030 (CDT) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Return-Path: <ja...@ni...> Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Received: from localhost (localhost.localdomain [127.0.0.1]) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Iby beatrice.nipl.net (Postfix) with ESMTP id 0336EE8624 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Ifor <jas...@in...>; Fri, 16 Dec 2005 07:39:04 +0000 (UTC) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Received: from beatrice.nipl.net ([127.0.0.1]) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Iby localhost (beatrice.nipl.net [127.0.0.1]) (amavisd-new, port 10024) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Iwith ESMTP id 01175-07 for <jas...@in...>; Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^IFri, 16 Dec 2005 07:39:01 +0000 (UTC) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Received: by beatrice.nipl.net (Postfix, from userid 1010) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ^Iid 79CEBE8644; Fri, 16 Dec 2005 07:39:01 +0000 (UTC) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Date: Fri, 16 Dec 2005 18:39:00 +1100 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< From: Jason White <ja...@ni...> Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< To: jas...@in... Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Subject: Fetchmail test for 6.3.1 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Message-ID: <200...@ni...> Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Mime-Version: 1.0 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Content-Type: text/plain; charset=us-ascii Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Content-Disposition: inline Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< User-Agent: Mutt/1.5.9i Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at nipl.net Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-Rcpt-To: <jas...@in...> Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-Vpipe: Scanner said clean (/usr/local/clamav/sbin/vscand-clamav) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-NotAscii: charset=us-ascii Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-IP-stats: Incoming Last 0, First 0, in=1, out=0, spam=0 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< X-External-IP: 62.94.93.142 Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< ) Dec 16 18:40:03 jdc fetchmail[13415]: IMAP< A0006 OK FETCH completed Dec 16 18:40:33 jdc fetchmail[13415]: timeout after 30 seconds waiting for server mail.internode.on.net. Dec 16 18:40:33 jdc fetchmail[13415]: socket error while fetching from jas...@ma... Dec 16 18:40:33 jdc fetchmail[13415]: 6.3.1-pre1 querying mail.internode.on.net (protocol IMAP) at Fri Dec 16 18:40:33 2005: poll completed Dec 16 18:40:33 jdc fetchmail[13415]: Query status=2 (SOCKET) Dec 16 18:40:33 jdc fetchmail[13415]: Deleting fetchids file. Dec 16 18:40:33 jdc fetchmail[13415]: sleeping at Fri Dec 16 18:40:33 2005 Configuration: # global options set daemon 60 set syslog # Server options (mail.internode.on.net) poll mail.internode.on.net protocol imap timeout 30 # User options (internode.on.net) username jasonjgw is jason here password secret fetchall |