Re: [binc] NOOP fails (from time to time)

Jerry Lundström <[email protected]>
Newsgroups gmane.mail.imap.binc.general
Message-ID <[email protected]>
Andreas Aardal Hanssen wrote:
> On Sun, 22 May 2005, J. Kendzorra wrote:
> 
>>On Sunday 22 May 2005 05:34, Peter Stuge wrote:
>>
>>>Unfortunately this strace output isn't useful. This is the strace of
>>>either tcpserver or bincimap-up and we need the strace from
>>>bincimapd.
> 
> 
> And just to rereply, here's a patch I'd like you to try:

Very easy replicated error:

* OK Welcome to Binc IMAP Copyright (C) 2002-2005 Andreas Aardal Hanssen 
at 2005-05-23 13:55:15 CEST
1 LOGIN ** **
1 OK LOGIN completed
1 SELECT INBOX
* 503 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1115993145]
* OK [UIDNEXT 504] 504 is the next UID
* FLAGS (\Answered \Flagged \Deleted \Recent \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] Limited
1 OK [READ-WRITE] SELECT completed
1 CLOSE
1 OK CLOSE completed
1 NOOP
* BYE Invalid Mailbox, /new/: No such file or directory
read:errno=0

Ive checked the code some and only questionmark is APPEND command. 
APPEND does things with the returned mailbox from Request.getMailbox() 
and im unsure if that can handle a nil mailbox. APPEND can be runed 
without a mailbox selected since it has AUTHENTICATED state.

-- 
Jerry Lundström
Sektionen för IT och media, Stockholms universitet
+46 (0)8 16 19 99 / http://www.it.su.se
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.