james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Burrell Donkin <robertburrelldon...@gmail.com>
Subject Re: IMAP Protocol implementation comments
Date Tue, 12 May 2009 11:21:50 GMT
On Tue, May 12, 2009 at 12:06 PM, Martin.Bergljung
<Martin.Bergljung@opsera.com> wrote:
> Hi,
>
> The bug is still there I think.
>
> If I telnet the old version of Apache James IMAP that I am using I get the following
result on an EXPUNGE:
>
> * OK JAMES IMAP4rev1 Server 3.0-SNAPSHOT Server 127.0.1.1 ready
> a0 login gravitonian xxxxxxxxxx
> a0 OK LOGIN completed.
> a1 SELECT "INBOX/Company Home/User Homes/gravitonian/test"
> * FLAGS (\Answered \Deleted \Draft \Flagged \Recent \Seen)
> * 2 RECENT
> * OK [UIDVALIDITY 54]
> * 28 EXISTS
> * OK [UNSEEN 17] Message 17 is the first unseen
> * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Recent \Seen)]
> a1 OK [READ-WRITE] SELECT completed.
> a2 EXPUNGE
> * 23 EXPUNGE
> * 23 EXPUNGE
> * 26 EXPUNGE
> a2 OK EXPUNGE completed.
>
> If I do the same with the new implementation I see the following:
>
>
> * OK JAMES IMAP4rev1 Server 3.0-SNAPSHOT Server 192.168.2.3 is ready.
> a0 login mbergljung xxxxxxxxx
> a0 OK LOGIN completed.
> a1 SELECT "INBOX/Company Home/User Homes/mbergljung"
> * FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
> * 7 EXISTS
> * 1 RECENT
> * OK [UIDVALIDITY 34]
> * OK [UNSEEN 4]
> * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Recent \Seen)]
> * OK [UIDNEXT 8]
> a1 OK [READ-WRITE] SELECT completed.
> a2 EXPUNGE
> a2 OK EXPUNGE completed.
>
> So the expunge response does not look to be complete.

i note that the expunge is done directly after select. is:

 User A
  1. Login
  2. Select mailbox alpha
  3. Mark some messages as deleted

User B
  4. Login
  5. Select mailbox alpha
  6. Expunge

the sequence required to reproduce?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message