On Thu, Apr 07, 2005 at 02:56:45PM -0500, John Goerzen wrote:
> These are almost never an OfflineIMAP problem; it means that the remote
> server unexpectedly closed the connection.  If you run with -d imap -1,
> we may be able to obtain a clue as to why.

I upgraded uw-imapd to unstable and get the same error.  The tail of the
output with "-d imap -1" are below, and the full output (300K) is at
http://andrew.pimlott.net/tmp/offlineimap_debug.  It's not obvious to me
why the sequence of commands would cause uw-imapd to lose the mailbox
lock.  This is a test mailbox with nothing else accessing it.  Do you
have any ideas?  Does it have to do with offlineimap making two separate
connections?

I think I am going to replace uw-imapd anyway.  Is there an imapd you
recommend for light use with offlineimap, preferably supporting mbox?
Another problem with uw-imapd is that whenever I access a mailbox via
IMAP, even if I do not save any changes, it saves the mbox changing
message statuses from "N" to "O".  I would like to imapd to leave
messages in the "N" status unless my mail client changes it.

Andrew

Last 28 debug messages logged for Copy message 1 from mail/test prior to
exception:
imap:   03:22.60 > EEOJ7 UID FETCH 1 (BODY.PEEK[])
imap:   03:22.70 < * 1 FETCH (UID 1 BODY[] {693}
imap:   03:22.71    matched r'\* (?P<data>\d+) (?P<type>[A-Z-]+)(
(?P<data2>.*))?' => ('1', 'FETCH', ' (UID 1 BODY[] {693}', '(UID 1
BODY[] {693}')
imap:   03:22.71    matched r'.*{(?P<size>\d+)}$' => ('693',)
imap:   03:22.71 read literal size 693
imap:   03:22.71 untagged_responses[FETCH] 0 += ["('1 (UID 1 BODY[]
{693}', 'Return-path: <[EMAIL PROTECTED]>\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n')"]
imap:   03:22.71 < )
imap:   03:22.71 untagged_responses[FETCH] 1 += [")"]
imap:   03:22.71 < EEOJ7 OK UID FETCH completed
imap:   03:22.71    matched r'(?P<tag>EEOJ\d+) (?P<type>[A-Z]+)
(?P<data>.*)' => ('EEOJ7', 'OK', 'UID FETCH completed')
imap:   03:22.72 untagged_responses[FETCH] => [('1 (UID 1 BODY[] {693}',
'Return-path: <[EMAIL PROTECTED]>\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n'), ')']
imap: Returned object from fetching 1: ('OK', [('1 (UID 1 BODY[] {693}',
'Return-path: <[EMAIL PROTECTED]>\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n'), ')'])
imap: savemessage: called
imap: savemessage: using date " 7-Apr-2005 07:43:23 -0800"
imap: savemessage: initial content is: 'Return-path:
<[EMAIL PROTECTED]>\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n'
imap: savemessage: new headers are:
X-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374:
1112904202-0725176855703-v4.0.8
imap: savemessage_addheader: called to add
X-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374:
1112904202-0725176855703-v4.0.8
imap: savemessage_addheader: insertionpoint = 33
imap: savemessage_addheader: leader = 'Return-path:
<[EMAIL PROTECTED]>'
imap: savemessage_addheader: newline =
'\r\nX-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374:
1112904202-0725176855703-v4.0.8'
imap: savemessage_addheader: trailer = '\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n'
imap: savemessage: new content is: 'Return-path:
<[EMAIL 
PROTECTED]>\r\nX-OfflineIMAP-1507185133-6d616473746f70-6d61696c2f74657374:
1112904202-0725176855703-v4.0.8\r\nEnvelope-to:
[EMAIL PROTECTED]: Thu, 07 Apr 2005 07:43:23
-0700\r\nReceived: from andrew by madstop.pimlott.net with local (Exim
3.35 #1 (Debian))\r\n\tid 1DJYE7-0002J3-00\r\n\tfor
<[EMAIL PROTECTED]>; Thu, 07 Apr 2005 07:43:23 -0700\r\nDate: Thu, 7
Apr 2005 07:43:23 -0700\r\nFrom: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nTo: Andrew Pimlott
<[EMAIL PROTECTED]>\r\nSubject: test\r\nMessage-ID:
<[EMAIL PROTECTED]>\r\nMime-Version:
1.0\r\nContent-Type: text/plain;
charset=us-ascii\r\nContent-Disposition: inline\r\nUser-Agent:
Mutt/1.5.6+20040907i\r\nX-Bogosity: Ham, tests=bogofilter,
spamicity=0.000042, version=0.94.1\r\nContent-Length: 0\r\nLines:
0\r\n\r\n'
imap: savemessage: new content length is 786
imap:   03:22.72 > DLKO6 APPEND "mail/test" () " 7-Apr-2005 07:43:23
-0800" {786}
imap:   03:22.72 < * BYE Lost mailbox lock
imap:   03:22.72    matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' =>
('BYE', ' Lost mailbox lock', 'Lost mailbox lock')
imap:   03:22.72 untagged_responses[BYE] 0 += ["Lost mailbox lock"]
imap:   03:22.72 BYE response: Lost mailbox lock
zsh: exit 100   offlineimap -u TTY.TTYUI -d imap -1



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to