Complete.Org: Mailing Lists: Archives: offlineimap: March 2007:
Re: Sync problem
Home

Re: Sync problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: Sync problem
From: Gilles Roy <groy@xxxxxxx>
Date: Thu, 8 Mar 2007 09:06:42 -0500

On Thu, Mar 08, 2007 at 07:50:38AM -0600, John Goerzen wrote:
>On Thu, Mar 08, 2007 at 08:40:37AM -0500, Gilles Roy wrote:
>> Any advice here? Is is just the server that gets mixed up when the CR LF 
>> CR LF sequence is broken up into multiple messages? Is this even a valid 
>> message from offlineimap?
>
>Even though you are talking about Microsoft products, I would be shocked
>if their TCP stack was *that* broken.
>
>A more useful protocol dump could be obtained from
>
>offlineimap -d imap -1
>
>-- John

I also did that. This is where it went wrong. After the "write literal 
size 4033" below, I waited something like 15 minutes before I hit 
CTRL-C. If I don't do that, exchange will usually just close the 
connection after something like 30 minutes. Looking at the raw packets 
with ethereal/tcpdump I can see the whole message was sent, the exchange 
server ACKed all of the data at the TCP level. 4035 bytes were sent at 
the TCP level (The message size in the logs below claims 4033? Maybe the 
terminating CRLF aren't counted?). BTW, I removed the actuall message 
data and replaced with <trim>.



New msg sync from multimedia: Copy message -20 Maildir[multimedia] -> 
IMAP[multimedia], LocalStatus[multimedia]
New msg sync from multimedia: DEBUG[imap]: savemessage: called
New msg sync from multimedia: DEBUG[imap]: savemessage: using date " 1-Mar-2007 
01:31:56 -0500"
New msg sync from multimedia: DEBUG[imap]: savemessage: initial content is: 
<trim>
New msg sync from multimedia: DEBUG[imap]: savemessage: new headers are: 
X-OfflineIMAP-1835397228-52656d6f7465-6d756c74696d65646961: 
1173358115-0350623356447-v4.0.16
New msg sync from multimedia: DEBUG[imap]: savemessage_addheader: called to add 
X-OfflineIMAP-1835397228-52656d6f7465-6d756c74696d65646961: 
1173358115-0350623356447-v4.0.16
New msg sync from multimedia: DEBUG[imap]: savemessage_addheader: 
insertionpoint = 157
New msg sync from multimedia: DEBUG[imap]: savemessage_addheader: leader = 
'Received: from XXXXX with SMTP (Microsoft Exchange Internet Mail Service 
Version 5.5.2653.13)'
New msg sync from multimedia: DEBUG[imap]: savemessage_addheader: newline = 
'\r\nX-OfflineIMAP-1835397228-52656d6f7465-6d756c74696d65646961: 
1173358115-0350623356447-v4.0.16'
New msg sync from multimedia: DEBUG[imap]: savemessage_addheader: trailer = 
<trim>
New msg sync from multimedia: DEBUG[imap]: savemessage: new content is: <trim>
New msg sync from multimedia: DEBUG[imap]: savemessage: new content length is 
4033
New msg sync from multimedia: DEBUG[imap]:   48:35.20 > HJKM92 APPEND 
multimedia (\Seen) " 1-Mar-2007 01:31:56 -0500" {4033}
New msg sync from multimedia: DEBUG[imap]:   48:35.22 < + Ready for additional 
command text.
New msg sync from multimedia: DEBUG[imap]:   48:35.22   matched r'\+( 
(?P<data>.*))?' => (' Ready for additional command text.', 'Ready for 
additional command text.')
New msg sync from multimedia: DEBUG[imap]:   48:35.22 write literal size 4033

After waiting for about 15 minutes I hit CTRL-C. If I don't do this, I 
usually get a timeout message from the exchange server after about 30 
minutes.


Regards,
Gilles



[Prev in Thread] Current Thread [Next in Thread]