Hi Roy,

You are on the good track comparing beta3 and beta4 with wireshark!

The main difference is the support of CONDSTORE extension (http://tools.ietf.org/html/rfc4551). Could it be the cause?

You can disable CONSTORE in beta4 spring-server.xml (1) with

<bean id="imapProcessor" class="org.apache.james.imap.processor.main.DefaultImapProcessorFactory" factory-method="createXListSupportingProcessor">
        <constructor-arg index="0" ref="mailboxmanager"/>
        <constructor-arg index="1" ref="subscriptionManager"/>
        <constructor-arg index="2" value="#{null}"/>
        <constructor-arg index="3" value="120"/>
        <constructor-arg index="4">
          <set>
            <value>ACL</value>
            <value>CONDSTORE</value>
          </set>
       </constructor-arg>
    </bean>

(add CONDSTORE to the list, didn't test, I hope it will work-out - You can check this on the CAPABITLITY server response).

However, I doubt that this has something to do with the difference of behavior between COMPRESS enabled and disabled.

Also, could you paste all these useful stacktrace and scenarii in IMAP-366 to have a central place to follow this issue.

Thx again,

Eric

(1) https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources/META-INF/org/apache/james/spring-server.xml

On 04/13/2012 12:04 AM, roy.ja...@xemaps.com wrote:
Hi Eric,

So loaded up a base installation of beta3, same domain and same test users.  I 
disable the account on my ipad.  Start up beta3, on different email clients I 
send a few messages back and forth between the 2 accounts.  Enable the account. 
 No problem.

Disable account again.  Turn on beta4, I get problems.  The communications 
between the 2 different services are completely different for me.  I pasted 
them below.  The first is by beta4 and I cut it short because it basically 
attempts to re-download the same message over and over again.  The second is 
beta3 and its more in line with what I would expect from the communication.

Can you tell me if there is something obvious I'm missing with the setup or is 
there something definitely wonky going on here with beta4?  BTW I also verified 
this with another person's iPad2, same problem.

beta4 streams from wireshark
-------------------------
* OK JAMES IMAP4rev1 Server  Server Imap01 is ready.
1 LOGIN r...@archive.usa.net test
1 OK LOGIN completed.
2 CAPABILITY
* CAPABILITY SASL-IR IDLE LITERAL+ AUTH=PLAIN CONDSTORE ESEARCH CHILDREN 
UIDPLUS UNSELECT WITHIN ENABLE I18NLEVEL=1 SEARCHRES IMAP4rev1 NAMESPACE QRESYNC
2 OK CAPABILITY completed.
3 LIST "" "*"
* LIST (\HasNoChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "Deleted Items"
* LIST (\HasNoChildren) "." "Deleted Messages"
* LIST (\HasNoChildren) "." "Junk E-mail"
* LIST (\HasNoChildren) "." "Notes"
* LIST (\HasNoChildren) "." "Sent Items"
* LIST (\HasNoChildren) "." "Sent Messages"
3 OK LIST completed.
4 SELECT INBOX
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 2 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1843960039] UIDs valid
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [HIGHESTMODSEQ 10] Highest
* OK [UIDNEXT 11] Predicted next UID
4 OK [READ-WRITE] SELECT completed.
5 NOOP
5 OK NOOP completed.
6 UID SEARCH RETURN (ALL) 1:* NOT DELETED
* ESEARCH (TAG "6") UID ALL 6:7
6 OK SEARCH completed.
7 UID FETCH 7 (INTERNALDATE UID RFC822.SIZE FLAGS MODSEQ 
BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc bcc message-id 
in-reply-to references)])
* OK [HIGHESTMODSEQ 10] Highest
* 2 FETCH (MODSEQ (-1) FLAGS (\Answered \Seen) INTERNALDATE "12-Apr-2012 20:36:22 
+0000" RFC822.SIZE 1035 UID 7 BODY[HEADER.FIELDS (date subject from content-type to 
cc bcc message-id in-reply-to references)] {430}
Content-Type: text/plain; charset=us-ascii
Subject: Re: test 1
From: Joe<j...@archive.usa.net>
In-Reply-To:<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
Date: Thu, 12 Apr 2012 16:36:37 -0400
Message-Id:<8dcce45e-d6e5-455e-98d1-16efec77c...@archive.usa.net>
References:<140bb8f7-c618-4b59-8dc9-180237ccf...@archive.usa.net>  
<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
To: Roy<r...@archive.usa.net>

)
7 OK FETCH completed.
---
* OK JAMES IMAP4rev1 Server  Server Imap01 is ready.
1 LOGIN r...@archive.usa.net test
1 OK LOGIN completed.
2 CAPABILITY
* CAPABILITY SASL-IR IDLE LITERAL+ AUTH=PLAIN CONDSTORE ESEARCH CHILDREN 
UIDPLUS UNSELECT WITHIN ENABLE I18NLEVEL=1 SEARCHRES IMAP4rev1 NAMESPACE QRESYNC
2 OK CAPABILITY completed.
3 SELECT INBOX
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 2 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1843960039] UIDs valid
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [HIGHESTMODSEQ 10] Highest
* OK [UIDNEXT 11] Predicted next UID
3 OK [READ-WRITE] SELECT completed.
4 NOOP
4 OK NOOP completed.
5 UID SEARCH RETURN (ALL) 1:* NOT DELETED
* ESEARCH (TAG "5") UID ALL 6:7
5 OK SEARCH completed.
6 UID FETCH 7 (INTERNALDATE UID RFC822.SIZE FLAGS MODSEQ 
BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc bcc message-id 
in-reply-to references)])
* OK [HIGHESTMODSEQ 10] Highest
* 2 FETCH (MODSEQ (-1) FLAGS (\Answered \Seen) INTERNALDATE "12-Apr-2012 20:36:22 
+0000" RFC822.SIZE 1035 UID 7 BODY[HEADER.FIELDS (date subject from content-type to 
cc bcc message-id in-reply-to references)] {430}
Content-Type: text/plain; charset=us-ascii
Subject: Re: test 1
From: Joe<j...@archive.usa.net>
In-Reply-To:<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
Date: Thu, 12 Apr 2012 16:36:37 -0400
Message-Id:<8dcce45e-d6e5-455e-98d1-16efec77c...@archive.usa.net>
References:<140bb8f7-c618-4b59-8dc9-180237ccf...@archive.usa.net>  
<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
To: Roy<r...@archive.usa.net>

)
6 OK FETCH completed.
---
* OK JAMES IMAP4rev1 Server  Server Imap01 is ready.
1 LOGIN r...@archive.usa.net test
1 OK LOGIN completed.
2 CAPABILITY
* CAPABILITY SASL-IR IDLE LITERAL+ AUTH=PLAIN CONDSTORE ESEARCH CHILDREN 
UIDPLUS UNSELECT WITHIN ENABLE I18NLEVEL=1 SEARCHRES IMAP4rev1 NAMESPACE QRESYNC
2 OK CAPABILITY completed.
3 SELECT INBOX
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 2 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1843960039] UIDs valid
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [HIGHESTMODSEQ 10] Highest
* OK [UIDNEXT 11] Predicted next UID
3 OK [READ-WRITE] SELECT completed.
4 NOOP
4 OK NOOP completed.
5 UID SEARCH RETURN (ALL) 1:* NOT DELETED
* ESEARCH (TAG "5") UID ALL 6:7
5 OK SEARCH completed.
6 UID FETCH 7 (INTERNALDATE UID RFC822.SIZE FLAGS MODSEQ 
BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc bcc message-id 
in-reply-to references)])
* OK [HIGHESTMODSEQ 10] Highest
* 2 FETCH (MODSEQ (-1) FLAGS (\Answered \Seen) INTERNALDATE "12-Apr-2012 20:36:22 
+0000" RFC822.SIZE 1035 UID 7 BODY[HEADER.FIELDS (date subject from content-type to 
cc bcc message-id in-reply-to references)] {430}
Content-Type: text/plain; charset=us-ascii
Subject: Re: test 1
From: Joe<j...@archive.usa.net>
In-Reply-To:<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
Date: Thu, 12 Apr 2012 16:36:37 -0400
Message-Id:<8dcce45e-d6e5-455e-98d1-16efec77c...@archive.usa.net>
References:<140bb8f7-c618-4b59-8dc9-180237ccf...@archive.usa.net>  
<50f03662-7b38-4084-9875-8ce1a9f6f...@archive.usa.net>
To: Roy<r...@archive.usa.net>

)

... repeats from here

beta3 streams from wireshark
-------------------------
* OK JAMES IMAP4rev1 Server  Server Imap01 is ready.
1 LOGIN r...@archive.usa.net test
1 OK LOGIN completed.
2 CAPABILITY
* CAPABILITY IMAP4rev1 LITERAL+ CHILDREN I18NLEVEL=1 WITHIN ESEARCH SEARCHRES 
IDLE NAMESPACE UIDPLUS UNSELECT AUTH=PLAIN SASL-IR ENABLE
2 OK CAPABILITY completed.
3 LIST "" "*"
* LIST (\HasNoChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "Deleted Items"
* LIST (\HasNoChildren) "." "Junk E-mail"
* LIST (\HasNoChildren) "." "Sent Items"
3 OK LIST completed.
4 SELECT INBOX
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 6 EXISTS
* 5 RECENT
* OK [UIDVALIDITY 100954320] UIDs valid
* OK [UNSEEN 3] Message 3 is first unseen
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [UIDNEXT 7] Predicted next UID
4 OK [READ-WRITE] SELECT completed.
5 NOOP
5 OK NOOP completed.
6 UID SEARCH RETURN (ALL) 1:* NOT DELETED
* ESEARCH (TAG "6") UID ALL 1:6
6 OK SEARCH completed.
7 UID FETCH 1:5 (INTERNALDATE UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS 
(date subject from content-type to cc bcc message-id in-reply-to references)])
* 1 FETCH (FLAGS (\Answered \Seen) INTERNALDATE "12-Apr-2012 21:25:59 +0000" 
RFC822.SIZE 630 UID 1 BODY[HEADER.FIELDS (date subject from content-type to cc bcc 
message-id in-reply-to references)] {234}
From: Joe<j...@archive.usa.net>
Content-Type: text/plain; charset=us-ascii
Subject: test 1
Date: Thu, 12 Apr 2012 17:26:13 -0400
Message-Id:<fead0adc-7016-469b-a2a3-1c65a1daa...@archive.usa.net>
To: Roy<r...@archive.usa.net>

)
* 2 FETCH (FLAGS (\Recent \Seen) INTERNALDATE "12-Apr-2012 21:29:12 +0000" 
RFC822.SIZE 1044 UID 2 BODY[HEADER.FIELDS (date subject from content-type to cc bcc 
message-id in-reply-to references)] {420}
Content-Type: text/plain; charset=us-ascii
Subject: Re: test 1
From: Joe<j...@archive.usa.net>
In-Reply-To:<000001cd18f3$4803a390$d80aeab0$@archive.usa.net>
Date: Thu, 12 Apr 2012 17:29:26 -0400
Message-Id:<c72875eb-1da2-4bc5-b51b-c3c56c448...@archive.usa.net>
References:<fead0adc-7016-469b-a2a3-1c65a1daa...@archive.usa.net>  
<000001cd18f3$4803a390$d80aeab0$@archive.usa.net>
To: Roy<r...@archive.usa.net>

)
* 3 FETCH (FLAGS (\Recent) INTERNALDATE "12-Apr-2012 21:29:34 +0000" 
RFC822.SIZE 635 UID 3 BODY[HEADER.FIELDS (date subject from content-type to cc bcc 
message-id in-reply-to references)] {240}
From: Joe<j...@archive.usa.net>
Content-Type: text/plain; charset=us-ascii
Subject: another test
Date: Thu, 12 Apr 2012 17:29:49 -0400
Message-Id:<5fd7630f-40a2-4bf1-a4b8-0c5dfa603...@archive.usa.net>
To: Roy<r...@archive.usa.net>

)
* 4 FETCH (FLAGS (\Recent) INTERNALDATE "12-Apr-2012 21:29:57 +0000" 
RFC822.SIZE 732 UID 4 BODY[HEADER.FIELDS (date subject from content-type to cc bcc 
message-id in-reply-to references)] {270}
Message-ID:<1166898457.0.1334266197752.JavaMail.royadmin@Imap01>
From: Microsoft Outlook<r...@archive.usa.net>
To: =?utf-8?B?Um95?=<r...@archive.usa.net>
Subject: =?utf-8?B?TWljcm9zb2Z0IE91dGxvb2sgVGVzdCBNZXNzYWdl?=
Content-Type: text/html;
     charset="utf-8"

)
* 5 FETCH (FLAGS (\Recent) INTERNALDATE "12-Apr-2012 21:30:04 +0000" 
RFC822.SIZE 731 UID 5 BODY[HEADER.FIELDS (date subject from content-type to cc bcc 
message-id in-reply-to references)] {269}
Message-ID:<310361440.1.1334266204072.JavaMail.royadmin@Imap01>
From: Microsoft Outlook<r...@archive.usa.net>
To: =?utf-8?B?Um95?=<r...@archive.usa.net>
Subject: =?utf-8?B?TWljcm9zb2Z0IE91dGxvb2sgVGVzdCBNZXNzYWdl?=
Content-Type: text/html;
     charset="utf-8"

)
7 OK FETCH completed.
8 UID FETCH 6 (UID FLAGS)
* 6 FETCH (FLAGS (\Recent) UID 6)
8 OK FETCH completed.
9 STATUS INBOX (UNSEEN)
* STATUS "INBOX" (UNSEEN 4)
9 OK STATUS completed.
10 UID SEARCH RETURN (COUNT) 1:* DELETED
* ESEARCH (TAG "10") UID COUNT 0
10 OK SEARCH completed.
11 UID FETCH 1 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
* 1 FETCH (UID 1 BODY[HEADER] {615}
Return-Path:<j...@archive.usa.net>
MIME-Version: 1.0
X-UserIsAuth: true
Delivered-To: r...@archive.usa.net
Received: from 165.212.161.131 ([165.212.161.131])
           by Imap01 (JAMES SMTP Server ) with ESMTPA ID 1496566946
           for<r...@archive.usa.net>;
           Thu, 12 Apr 2012 17:25:59 -0400 (EDT)
From: Joe<j...@archive.usa.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: test 1
Date: Thu, 12 Apr 2012 17:26:13 -0400
Message-Id:<fead0adc-7016-469b-a2a3-1c65a1daa...@archive.usa.net>
To: Roy<r...@archive.usa.net>
X-Mailer: Apple Mail (2.1084)

  BODY[TEXT] {15}
testing again
)
11 OK FETCH completed.
12 UID FETCH 5 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
* 5 FETCH (UID 5 BODY[HEADER] {617}
Return-Path:<r...@archive.usa.net>
Message-ID:<310361440.1.1334266204072.JavaMail.royadmin@Imap01>
MIME-Version: 1.0
X-UserIsAuth: true
Delivered-To: r...@archive.usa.net
Received: from 165.212.186.27 ([165.212.186.27])
           by Imap01 (JAMES SMTP Server ) with ESMTPA ID 2083613511
           for<r...@archive.usa.net>;
           Thu, 12 Apr 2012 17:30:03 -0400 (EDT)
From: Microsoft Outlook<r...@archive.usa.net>
To: =?utf-8?B?Um95?=<r...@archive.usa.net>
Subject: =?utf-8?B?TWljcm9zb2Z0IE91dGxvb2sgVGVzdCBNZXNzYWdl?=
Content-Type: text/html;
     charset="utf-8"
Content-Transfer-Encoding: 8bit

  BODY[TEXT] {114}
This is an e-mail message sent automatically by Microsoft Outlook while testing 
the settings for your account.

)
12 OK FETCH completed.
13 UID FETCH 4 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
* 4 FETCH (UID 4 BODY[HEADER] {618}
Return-Path:<r...@archive.usa.net>
Message-ID:<1166898457.0.1334266197752.JavaMail.royadmin@Imap01>
MIME-Version: 1.0
X-UserIsAuth: true
Delivered-To: r...@archive.usa.net
Received: from 165.212.186.27 ([165.212.186.27])
           by Imap01 (JAMES SMTP Server ) with ESMTPA ID 1845861952
           for<r...@archive.usa.net>;
           Thu, 12 Apr 2012 17:29:57 -0400 (EDT)
From: Microsoft Outlook<r...@archive.usa.net>
To: =?utf-8?B?Um95?=<r...@archive.usa.net>
Subject: =?utf-8?B?TWljcm9zb2Z0IE91dGxvb2sgVGVzdCBNZXNzYWdl?=
Content-Type: text/html;
     charset="utf-8"
Content-Transfer-Encoding: 8bit

  BODY[TEXT] {114}
This is an e-mail message sent automatically by Microsoft Outlook while testing 
the settings for your account.

)
13 OK FETCH completed.
14 UID FETCH 3 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
* 3 FETCH (UID 3 BODY[HEADER] {620}
Return-Path:<j...@archive.usa.net>
MIME-Version: 1.0
X-UserIsAuth: true
Delivered-To: r...@archive.usa.net
Received: from 165.212.161.131 ([165.212.161.131])
           by Imap01 (JAMES SMTP Server ) with ESMTPA ID 186909238
           for<r...@archive.usa.net>;
           Thu, 12 Apr 2012 17:29:34 -0400 (EDT)
From: Joe<j...@archive.usa.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: another test
Date: Thu, 12 Apr 2012 17:29:49 -0400
Message-Id:<5fd7630f-40a2-4bf1-a4b8-0c5dfa603...@archive.usa.net>
To: Roy<r...@archive.usa.net>
X-Mailer: Apple Mail (2.1084)

  BODY[TEXT] {15}
nother thread
)
14 OK FETCH completed.
---
* OK JAMES IMAP4rev1 Server  Server Imap01 is ready.
1 LOGIN r...@archive.usa.net test
1 OK LOGIN completed.
2 CAPABILITY
* CAPABILITY IMAP4rev1 LITERAL+ CHILDREN I18NLEVEL=1 WITHIN ESEARCH SEARCHRES 
IDLE NAMESPACE UIDPLUS UNSELECT AUTH=PLAIN SASL-IR ENABLE
2 OK CAPABILITY completed.
3 SELECT INBOX
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen)
* 6 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 100954320] UIDs valid
* OK [UNSEEN 3] Message 3 is first unseen
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen \*)] Limited
* OK [UIDNEXT 7] Predicted next UID
3 OK [READ-WRITE] SELECT completed.
4 UID FETCH 2 (BODY.PEEK[HEADER] BODY.PEEK[TEXT])
* 2 FETCH (UID 2 BODY[HEADER] {800}
Return-Path:<j...@archive.usa.net>
MIME-Version: 1.0
X-UserIsAuth: true
Delivered-To: r...@archive.usa.net
Received: from 165.212.161.131 ([165.212.161.131])
           by Imap01 (JAMES SMTP Server ) with ESMTPA ID 186909238
           for<r...@archive.usa.net>;
           Thu, 12 Apr 2012 17:29:12 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Subject: Re: test 1
From: Joe<j...@archive.usa.net>
In-Reply-To:<000001cd18f3$4803a390$d80aeab0$@archive.usa.net>
Date: Thu, 12 Apr 2012 17:29:26 -0400
Content-Transfer-Encoding: 7bit
Message-Id:<c72875eb-1da2-4bc5-b51b-c3c56c448...@archive.usa.net>
References:<fead0adc-7016-469b-a2a3-1c65a1daa...@archive.usa.net>  
<000001cd18f3$4803a390$d80aeab0$@archive.usa.net>
To: Roy<r...@archive.usa.net>
X-Mailer: Apple Mail (2.1084)

  BODY[TEXT] {244}
no much
On Apr 12, 2012, at 5:29 PM, Roy wrote:

Yo what's up

-----Original Message-----
From: Joe [mailto:j...@archive.usa.net]
Sent: Thursday, April 12, 2012 5:26 PM
To: Roy
Subject: test 1

testing again


)
4 OK FETCH completed.
5 LOGOUT
* BYE IMAP4rev1 Server logging out
5 OK LOGOUT completed.
---

... that's it, iPad realizes no more messages and leaves it at that

Roy

On Thu, Apr 12, 2012 at 3:30 PM,<roy.ja...@xemaps.com>  wrote:
Hey Eric,

I created ticket IMAP-366, was not sure what I should add under "affected version" and 
"fix version" as there did not seem to be anything there that matched up with beta 4...

I am unsure how to edit the compatibility page.  The one on the WIKI seems 
really out-dated?

I'm still seeing issues with my iPad2.  My version is 5.1 (9B176) , not sure 
how to determine mail app's version.

Roy

On Thu, Apr 12, 2012 at 3:12 AM, Eric Charles<e...@apache.org>  wrote:
Hi Roy,
See comments inline.
Thx, Eric


On 04/11/2012 08:22 PM, roy.ja...@xemaps.com wrote:

Hi Eric,

Just to let you know my iPad2 is still doing thousands of loops trying to
grab 3 messages from my test inbox even after removing the account and
re-adding it.  I wonder if I got something funky happening on our network
but wireshark does not show anything out of the ordinary.

Roy

On Wed, Apr 11, 2012 at 11:36 AM,<roy.ja...@xemaps.com>    wrote:


Not sure if I'm sending this twice... looks like original reply got
mangled.


I think apache mail server spam rules have been updated a few days ago.
I had to change my SMTP-out server, the previous one was considered as spam
and a few of my mails didn't reach out.


So even with compress off my iPad keeps attempting to download the second
message in the test inbox over and over again.  But I will remove account
and try from scratch agin and see what happens.


With compress off on beta4, I can read mails from ipad.

With compress on on beta4, I can list mails, but read hangs to finally make
client exit (crash?).



BTW, were you asking me to open the jira ticket and update the client
compatibility page?  Happy to do it just not sure if the questions was
pointed to me.


Yes, it would be great if you can do this.

The JIRA is used to follow up this issue (description of the issue with
stacktraces, comments, patches,...).

The compatibility page gives a view on which client is supported at the
moment.


I'm also wondering if you are getting the same errors pasted below as I
am.  I'm getting these kind of consistenly from outlook and other clients.
  Parsing problems and client disconnects (probably do to the parsing
problems).  This is with the build from james-app beta 4 tag project with
jpa specified as mailbox.


Parsing errors/warning on some mails can occur (for some malformed mails),
but this should not be the general rule.

The stacktrace you gave in the previous mail is related to SMTP. This can
occurs if the server receives such a malformed mail.

It has nothing to do with the ipad issue.

I have set DEBUG level on IMAP, with compression enabled.
I 'only' see the following stacktrace which confirms that the client does
too many requests, but we still have to find the cause of these multiple
requests. I confirm that with compression disabled, everything works fine.

java.nio.channels.ClosedChannelException
        at
org.jboss.netty.handler.stream.ChunkedWriteHandler.discard(ChunkedWriteHandler.java:171)
        at
org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:138)
        at
org.apache.james.protocols.lib.netty.ConnectionCountHandler.channelClosed(ConnectionCountHandler.java:39)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.cleanup(FrameDecoder.java:354)
        at
org.jboss.netty.handler.codec.frame.FrameDecoder.channelClosed(FrameDecoder.java:238)
        at
org.apache.james.protocols.netty.ConnectionPerIpLimitUpstreamHandler.channelClosed(ConnectionPerIpLimitUpstreamHandler.java:101)
        at
org.apache.james.protocols.netty.ConnectionLimitUpstreamHandler.channelClosed(ConnectionLimitUpstreamHandler.java:72)
        at
org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:43)
        at
org.jboss.netty.handler.timeout.IdleStateHandler.channelClosed(IdleStateHandler.java:262)
        at
org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:61)
        at
org.jboss.netty.channel.Channels.fireChannelClosed(Channels.java:398)
        at
org.jboss.netty.channel.socket.nio.NioWorker.close(NioWorker.java:596)
        at
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350)
        at
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274)
        at
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)



We are currently running on Windows 64 bit 2008 r2 with java 1.6.0_26.  I
am not seeing these problems with beta 3.


windows and java 1.6 should be fine.
so with beta3, compression works with ipad?


[snip]


On Wed, Apr 11, 2012 at 5:19 AM, Eric Charles<e...@apache.org>    wrote:

Hi Roy,

I have just migrated to beta4 (release), and indeed IMAP with
compression
enabled breaks ipad mail client in the way you describe.


It works fine with compression disabled.

Thunderbird works fine with compression enabled and disabled.

Would you mind opening a JIRA [1] for this and update the client
compatibility page [2]?

The question is now: 'how can we further debug'? 'ease of use' seems to
be
orthogonal to 'ease of debugging' in the ipad case.


Thx again,

Eric

[1] https://issues.apache.org/jira/browse/IMAP
[2] http://wiki.apache.org/james/Server3ClientCompatibility

On 04/10/2012 04:14 PM, roy.ja...@xemaps.com wrote:


Hi guys,

So i've been working on my company's own customer mailbox
implementation
of James on Version 3 originally started with beta 3.  I recently
upgraded
our code to work with beta 4 but now I notice that when I enable
compression
on the IMAP server my iPad will "break out" of the Mail app to the main
screen.  It does not do this with beta 3.  (No SSL enabled btw, seem to
have
problems with self-signed certs with iPad)

I'm going to see if I can test this with the default implementation of
imap that comes with James but if the problem lies with my
implementation of
the mailbox (and other pieces) do any of you have suggestions on how
one
goes about troubleshooting or bug hunting this?

Regards,
Roy


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


--
eric | http://about.echarles.net | @echarles

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

Reply via email to