RE: IMAP and SSL

2015-12-08 Thread roy . james
Hey guys, I think I would like to put in a bug for the behavior I found below? On Fri, Dec 4, 2015 at 11:10 AM, wrote: Thank I found the issue. For certain instances our Message.getBodyContent or getFullContent may return a FileInputStream. In ChannelImapResponseWriter.write if the InputStrea

RE: IMAP and SSL

2015-12-08 Thread roy . james
Hey guys, I think I would like to put in a bug for the behavior I found below? On Fri, Dec 4, 2015 at 11:10 AM, wrote: Thank I found the issue. For certain instances our Message.getBodyContent or getFullContent may return a FileInputStream. In ChannelImapResponseWriter.write if the InputStrea

RE: IMAP and SSL

2015-12-04 Thread roy . james
Thank I found the issue. For certain instances our Message.getBodyContent or getFullContent may return a FileInputStream. In ChannelImapResponseWriter.write if the InputStream of the passed in Literal is instanceof FileInputStream a ChunkedNioFile gets used instead of DefaultFileRegion or Chunk

RE: IMAP and SSL

2015-12-04 Thread roy . james
Thank I found the issue. For certain instances our Message.getBodyContent or getFullContent may return a FileInputStream. In ChannelImapResponseWriter.write if the InputStream of the passed in Literal is instanceof FileInputStream a ChunkedNioFile gets used instead of DefaultFileRegion or Chunk

RE: IMAP and SSL

2015-12-03 Thread roy . james
Hey guys, So I've been looking at the James source code and I still can't figure out what we are doing wrong. If I'm understanding the code correctly outside of the Netty ChannelPipeline having the SslHanndler added to it there are literally no differences in how IMAP commands get handled. Thi

RE: IMAP and SSL

2015-12-03 Thread roy . james
Hey guys, So I've been looking at the James source code and I still can't figure out what we are doing wrong. If I'm understanding the code correctly outside of the Netty ChannelPipeline having the SslHanndler added to it there are literally no differences in how IMAP commands get handled. Thi

Re: IMAP and SSL

2015-12-02 Thread roy . james
Hey guys, So I've been looking at the James source code and I still can't figure out what we are doing wrong. If I'm understanding the code correctly outside of the Netty ChannelPipeline having the SslHanndler added to it there are literally no differences in how IMAP commands get handled. This c

IMAP and SSL

2015-11-25 Thread roy . james
Hi guys, I'm having a weird problem with our Mailbox implementation with James 3.0 beta 4 and IMAP with SSL enabled. On some messages when I try to do the line pasted at the bottom in plain text it works fine, but with SSL (and communicating through openssl s_client OR iOS) I get stuck in some

IMAP and SSL

2015-11-25 Thread roy . james
Hi guys, I'm having a weird problem with our Mailbox implementation with James 3.0 beta 4 and IMAP with SSL enabled. On some messages when I try to do the line pasted at the bottom in plain text it works fine, but with SSL (and communicating through openssl s_client OR iOS) I get stuck in some