fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail / server communication problems

2001-11-18 12:41:59
I have seen similar questions in the archives, but no answers.  I have also 
checked the FAQ, and the most I can find is a suggestion that something is 
wrong with one networking layer or another.

Here's my problem:

My ISP uses WinNT, and version 4.5.4 of MailSite.  I access it using IMAP4.

I have fetchmail and exim, and use mutt as a reader.  I use exim for filtering, 
which works fine.  Exim also works fine with internal mail.

Every once in a while, fetchmail and MailSite quit communicating, usually at 
the beginning of the fetch stage.  It is as if fetchmail gives MailSite the 
go-ahead, and MailSite wanders off, or MailSite is waiting for a signal from 
fetchmail to proceed.  This _seems_ to occur with large packages or large 
groups of packages, but that may be illusory.  I am inclined to blame MailSite, 
but I don't know how much help I can get from the ISP.  They've been basically 
obtuse so far.  I can _always_ download with Netscape, but this is not at all 
my preference, more a desperation move.

I offer the following pair of exchanges, one that works, and the immediatley 
following one, which does not.

fetchmail: 5.9.3 querying mail.dccnet.com (protocol IMAP) at Sat Nov 17 
13:29:56 2001: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 treehouse.ellisonet closing connection
fetchmail: Deleting fetchids file.
fetchmail: fetchmail: sleeping at Sat Nov 17 13:29:56 2001
fetchmail: awakened at Sat Nov 17 13:34:56 2001
fetchmail: 5.9.3 querying mail.dccnet.com (protocol IMAP) at Sat Nov 17 
13:34:56 2001: poll started
fetchmail: IMAP< * OK dccnet.com MailSite IMAP4 Server 4.5.4.0 ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 ACL NAMESPACE QUOTA AUTH=SCRAM-MD5 
AUTH=NTLM AUTH=LOGIN AUTH=CRAM-MD5
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 AUTHENTICATE CRAM-MD5
fetchmail: IMAP< + PDk3NDEuMTAxMTExNzEzMzMyOUB5b2RhLmRjY25ldC5jb20+
fetchmail: decoded as 
<9741(_dot_)1011117133329(_at_)yoda(_dot_)dccnet(_dot_)com>
fetchmail: IMAP> Y2FtZWxsaXNvbiAzNzI0NTI0NGY2NjE1YTJkNDI0N2ZmYzAyMjE4ODJhNA==
fetchmail: IMAP< A0002 OK AUTHENTICATE completed ok
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft 
\*)]
fetchmail: IMAP< * OK [UNSEEN 1] Message 1 is first unseen
fetchmail: IMAP< * OK [UIDVALIDITY 371675642] UIDs are valid
fetchmail: IMAP< A0003 OK [READ-WRITE] opened INBOX
fetchmail: 1 messages waiting after first poll
fetchmail: IMAP> A0004 SEARCH UNSEEN
fetchmail: IMAP< * SEARCH 1
fetchmail: 1 is unseen
fetchmail: IMAP< A0004 OK SEARCH completed
fetchmail: 1 message for camellison at mailhost.dccnet.com.
fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 8319)
fetchmail: IMAP< A0005 OK FETCH completed
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {1892}
fetchmail: reading message camellison(_at_)mailhost(_dot_)dccnet(_dot_)com:1 of 
1 (1892 header octets)
fetchmail: About to rewrite Return-path: <exim-users-admin(_at_)exim(_dot_)org>
Rewritten version is Return-path: <exim-users-admin(_at_)exim(_dot_)org>

fetchmail: About to rewrite From: Stephane Leclerc 
<sleclerc(_at_)actionweb(_dot_)fr>
Rewritten version is From: Stephane Leclerc <sleclerc(_at_)actionweb(_dot_)fr>

fetchmail: About to rewrite To: <exim-users(_at_)exim(_dot_)org>
Rewritten version is To: <exim-users(_at_)exim(_dot_)org>

fetchmail: About to rewrite Sender: exim-users-admin(_at_)exim(_dot_)org
Rewritten version is Sender: exim-users-admin(_at_)exim(_dot_)org

fetchmail: SMTP< 220 treehouse.ellisonet ESMTP Exim 3.12 #1 Sat, 17 Nov 2001 
13:34:56 -0800
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-treehouse.ellisonet Hello localhost [127.0.0.1]
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<exim-users-admin(_at_)exim(_dot_)org> SIZE=8319
fetchmail: SMTP< 250 <exim-users-admin(_at_)exim(_dot_)org> is syntactically 
correct
fetchmail: SMTP> RCPT TO:<root(_at_)localhost>
fetchmail: SMTP< 250 <root(_at_)localhost> is syntactically correct
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {6432}
fetchmail:  (6432 body octets) fetchmail: timeout after 300 seconds waiting for 
server mail.dccnet.com.
fetchmail: client/server synchronization error while fetching from 
mail.dccnet.com
fetchmail: 5.9.3 querying mail.dccnet.com (protocol IMAP) at Sat Nov 17 
13:39:56 2001: poll completed
fetchmail: Query status=7 (ERROR)
fetchmail: SMTP> QUIT
fetchmail: Deleting fetchids file.
fetchmail: fetchmail: sleeping at Sat Nov 17 13:39:56 2001
fetchmail: awakened at Sat Nov 17 13:44:56 2001
fetchmail: 5.9.3 querying mail.dccnet.com (protocol IMAP) at Sat Nov 17 
13:44:56 2001: poll started
fetchmail: IMAP< * OK dccnet.com MailSite IMAP4 Server 4.5.4.0 ready
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 ACL NAMESPACE QUOTA AUTH=SCRAM-MD5 
AUTH=NTLM AUTH=LOGIN AUTH=CRAM-MD5
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 AUTHENTICATE CRAM-MD5
fetchmail: IMAP< + PDU0NDcuMTAxMTExNzEzNDMzMEB5b2RhLmRjY25ldC5jb20+
fetchmail: decoded as 
<5447(_dot_)1011117134330(_at_)yoda(_dot_)dccnet(_dot_)com>
fetchmail: IMAP> Y2FtZWxsaXNvbiA1ODUyNTI4NTIyODc4MzgyNmI4ZDcxNDUwZjEyMjBjNA==
fetchmail: IMAP< A0002 OK AUTHENTICATE completed ok
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
fetchmail: IMAP< * 4 EXISTS
fetchmail: IMAP< * 3 RECENT
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft 
\*)]
fetchmail: IMAP< * OK [UNSEEN 4] Message 1 is first unseen
fetchmail: IMAP< * OK [UIDVALIDITY 371675642] UIDs are valid
fetchmail: IMAP< A0003 OK [READ-WRITE] opened INBOX
fetchmail: 4 messages waiting after first poll
fetchmail: IMAP> A0004 SEARCH UNSEEN
fetchmail: IMAP< * SEARCH 1 2 3 4
fetchmail: 1 is unseen
fetchmail: 2 is unseen
fetchmail: 3 is unseen
fetchmail: 4 is unseen
fetchmail: IMAP< A0004 OK SEARCH completed
fetchmail: 4 messages for camellison at mailhost.dccnet.com.
fetchmail: IMAP> A0005 FETCH 1:4 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 8319)
fetchmail: IMAP< * 2 FETCH (RFC822.SIZE 2397)
fetchmail: IMAP< * 3 FETCH (RFC822.SIZE 4833)
fetchmail: IMAP< * 4 FETCH (RFC822.SIZE 4188)
fetchmail: IMAP< A0005 OK FETCH completed
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {1892}
fetchmail: reading message camellison(_at_)mailhost(_dot_)dccnet(_dot_)com:1 of 
4 (1892 header octets)
fetchmail: About to rewrite Return-path: <exim-users-admin(_at_)exim(_dot_)org>
Rewritten version is Return-path: <exim-users-admin(_at_)exim(_dot_)org>

fetchmail: About to rewrite From: Stephane Leclerc 
<sleclerc(_at_)actionweb(_dot_)fr>
Rewritten version is From: Stephane Leclerc <sleclerc(_at_)actionweb(_dot_)fr>

fetchmail: About to rewrite To: <exim-users(_at_)exim(_dot_)org>
Rewritten version is To: <exim-users(_at_)exim(_dot_)org>

fetchmail: About to rewrite Sender: exim-users-admin(_at_)exim(_dot_)org
Rewritten version is Sender: exim-users-admin(_at_)exim(_dot_)org

fetchmail: SMTP< 220 treehouse.ellisonet ESMTP Exim 3.12 #1 Sat, 17 Nov 2001 
13:44:57 -0800
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-treehouse.ellisonet Hello localhost [127.0.0.1]
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250 HELP
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<exim-users-admin(_at_)exim(_dot_)org> SIZE=8319
fetchmail: SMTP< 250 <exim-users-admin(_at_)exim(_dot_)org> is syntactically 
correct
fetchmail: SMTP> RCPT TO:<root(_at_)localhost>
fetchmail: SMTP< 250 <root(_at_)localhost> is syntactically correct
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {6432}
fetchmail:  (6432 body octets) fetchmail: timeout after 300 seconds waiting for 
server mail.dccnet.com.
fetchmail: client/server synchronization error while fetching from 
mail.dccnet.com
fetchmail: 5.9.3 querying mail.dccnet.com (protocol IMAP) at Sat Nov 17 
13:49:57 2001: poll completed
fetchmail: Query status=7 (ERROR)
fetchmail: SMTP> QUIT
fetchmail: Deleting fetchids file.
fetchmail: fetchmail: sleeping at Sat Nov 17 13:49:57 2001


The comparable exim log entries are:

2001-11-17 13:29:56 165D2C-00012u-00 <= 
owner-vox-announce(_at_)lists(_dot_)lugod(_dot_)org H=localhost [127.0.0.1] 
P=esmtp S=2620 id=20011117131350(_dot_)D9388(_at_)sonic(_dot_)net
2001-11-17 13:29:56 165D2C-00012u-00 => /home/cam/mail/vox-tech 
(cam(_at_)treehouse(_dot_)ellisonet) <root(_at_)localhost> D=userforward 
T=address_file
2001-11-17 13:29:56 165D2C-00012u-00 Completed
2001-11-17 13:39:56 unexpected disconnection while reading SMTP data from 
localhost [127.0.0.1]


If this is a networking problem on my side (as the FAQ states), will someone 
please give me a hint as to where to start?  I have not idea what I'm looking 
for.  I'm running Debian woody (testing) with kernel 2.2.20.

Thank you for this

Cam


-- 
Cam Ellison Ph.D. R.Psych.
From Roberts Creek on B.C.'s incomparable Sunshine Coast
camellison(_at_)dccnet(_dot_)com
cam(_at_)fleuryassociates(_dot_)com



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Fetchmail / server communication problems, Cam Ellison <=