[jira] [Commented] (PROTOCOLS-104) POP3 RETR hangs on some messages when using Apple Mail

2013-02-09 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575132#comment-13575132
 ] 

Eric Charles commented on PROTOCOLS-104:


Thx  Rustam.

Upon the eml mail, is it possible to have a dump of the pop3 communication 
between client and server?
Wireshark (with follow tcp stream) is helpful to provide this.

Thx, ERic

> POP3 RETR hangs on some messages when using Apple Mail
> --
>
> Key: PROTOCOLS-104
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-104
> Project: James Protocols
>  Issue Type: Bug
>  Components: pop3
>Affects Versions: 1.6.3
> Environment: MacOSX
>Reporter: Rustam Aliyev
>Assignee: Eric Charles
>Priority: Minor
> Attachments: retr-hang-apple-mail.eml
>
>
> Some messages cause Apple Mail hang during RETR command. Outlook and 
> Thunderbird both can successfully download exactly same message. So the 
> problem exhibits only when using Apple Mail.
> Copy of the message which can be used to reproducing problem is attached. 
> From description this issue looks similar to JAMES-1222.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (PROTOCOLS-104) POP3 RETR hangs on some messages when using Apple Mail

2013-02-09 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575230#comment-13575230
 ] 

Eric Charles commented on PROTOCOLS-104:


Hi Rustam,

I put the given mail in my maildir folder and tried to read it from thunderbird 
via IMAP.
I only got the headers, the body is not given (no exception on the server 
shown).
With Apple Mail, the mail does even not appear.
Did you try to parse the mail with mime4j (if this is not parseable with 
mime4j, james sever will have a problem).

Thx, Eric


> POP3 RETR hangs on some messages when using Apple Mail
> --
>
> Key: PROTOCOLS-104
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-104
> Project: James Protocols
>  Issue Type: Bug
>  Components: pop3
>Affects Versions: 1.6.3
> Environment: MacOSX
>Reporter: Rustam Aliyev
>Assignee: Eric Charles
>Priority: Minor
> Attachments: retr-hang-apple-mail.eml
>
>
> Some messages cause Apple Mail hang during RETR command. Outlook and 
> Thunderbird both can successfully download exactly same message. So the 
> problem exhibits only when using Apple Mail.
> Copy of the message which can be used to reproducing problem is attached. 
> From description this issue looks similar to JAMES-1222.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (PROTOCOLS-104) POP3 RETR hangs on some messages when using Apple Mail

2013-02-09 Thread Rustam Aliyev (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575324#comment-13575324
 ] 

Rustam Aliyev commented on PROTOCOLS-104:
-

One thing I noticed is that this message uses "\n" instead of "\r\n" for line 
termination. But CRLFTerminatedInputStream should take care of this.

> POP3 RETR hangs on some messages when using Apple Mail
> --
>
> Key: PROTOCOLS-104
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-104
> Project: James Protocols
>  Issue Type: Bug
>  Components: pop3
>Affects Versions: 1.6.3
> Environment: MacOSX
>Reporter: Rustam Aliyev
>Assignee: Eric Charles
>Priority: Minor
> Attachments: pop3-apple-mail.pcap.gz, retr-hang-apple-mail.eml
>
>
> Some messages cause Apple Mail hang during RETR command. Outlook and 
> Thunderbird both can successfully download exactly same message. So the 
> problem exhibits only when using Apple Mail.
> Copy of the message which can be used to reproducing problem is attached. 
> From description this issue looks similar to JAMES-1222.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (PROTOCOLS-104) POP3 RETR hangs on some messages when using Apple Mail

2013-02-10 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575382#comment-13575382
 ] 

Eric Charles commented on PROTOCOLS-104:


Hi,
Mail is correctly shown in thunberbird pop3 (with correct wireshark dump).
Only headers are show in thunderbird imap (wireshark dump shows that only the 
headers are given, which makes me think mime4j can not parse it).
Apple Mail pop3 hangs forever although wireshark shows a correct dump (mail is 
given to apple mail).

I have tried to figure out if we respect the RFC [1], especially regarding the 
case where a lined begins with '.', but I didn't find in your mail such line:
grep ^"\." retr-hang-apple-mail.eml 

A preliminary step would be absolutely sure that the mail is well-formed

Thx, Eric


[1] Responses to certain commands are multi-line.  In these cases, which
   are clearly indicated below, after sending the first line of the
   response and a CRLF, any additional lines are sent, each terminated
   by a CRLF pair.  When all lines of the response have been sent, a
   final line is sent, consisting of a termination octet (decimal code
   046, ".") and a CRLF pair.  If any line of the multi-line response
   begins with the termination octet, the line is "byte-stuffed" by
   pre-pending the termination octet to that line of the response.

> POP3 RETR hangs on some messages when using Apple Mail
> --
>
> Key: PROTOCOLS-104
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-104
> Project: James Protocols
>  Issue Type: Bug
>  Components: pop3
>Affects Versions: 1.6.3
> Environment: MacOSX
>Reporter: Rustam Aliyev
>Assignee: Eric Charles
>Priority: Minor
> Attachments: pop3-apple-mail.pcap.gz, retr-hang-apple-mail.eml
>
>
> Some messages cause Apple Mail hang during RETR command. Outlook and 
> Thunderbird both can successfully download exactly same message. So the 
> problem exhibits only when using Apple Mail.
> Copy of the message which can be used to reproducing problem is attached. 
> From description this issue looks similar to JAMES-1222.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (PROTOCOLS-104) POP3 RETR hangs on some messages when using Apple Mail

2013-02-10 Thread Rustam Aliyev (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575572#comment-13575572
 ] 

Rustam Aliyev commented on PROTOCOLS-104:
-

I just double check TCP dump, and I can see that message is terminated by "\n" 
(0A) only. What's happening perhaps is that Apple Mail sees it as a single long 
line and can't find ".\r\n" terminator.

So it looks like CRLFTerminatedInputStream doesn't do it's job properly?

Just for reference, I have latest snapshot with java version "1.7.0_08-ea" 
[Java(TM) SE Runtime Environment (build 1.7.0_08-ea-b03); Java HotSpot(TM) 
64-Bit Server VM (build 23.2-b09, mixed mode)]

> POP3 RETR hangs on some messages when using Apple Mail
> --
>
> Key: PROTOCOLS-104
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-104
> Project: James Protocols
>  Issue Type: Bug
>  Components: pop3
>Affects Versions: 1.6.3
> Environment: MacOSX
>Reporter: Rustam Aliyev
>Assignee: Eric Charles
>Priority: Minor
> Attachments: pop3-apple-mail.pcap.gz, retr-hang-apple-mail.eml
>
>
> Some messages cause Apple Mail hang during RETR command. Outlook and 
> Thunderbird both can successfully download exactly same message. So the 
> problem exhibits only when using Apple Mail.
> Copy of the message which can be used to reproducing problem is attached. 
> From description this issue looks similar to JAMES-1222.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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