[ https://issues.apache.org/jira/browse/JAMES-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978258#action_12978258 ]
Norman Maurer commented on JAMES-1174: -------------------------------------- its not that easy.. we need to make sure we only append "\r\n.\r\n" if the last line of the mail does not end with "\r\n". > org.apache.james.pop3server.core.RetrCmdHandler does not terminate stream > -------------------------------------------------------------------------- > > Key: JAMES-1174 > URL: https://issues.apache.org/jira/browse/JAMES-1174 > Project: JAMES Server > Issue Type: Bug > Components: POP3Server > Affects Versions: Trunk > Reporter: Andrew Tomlinson > Assignee: Norman Maurer > Priority: Critical > > Combination of plain text email with AddFooter mailet causes POP client to > hang because the stream is not terminated with CR-LF.CR-LF > > Current line #94 causes hang > session.writeStream(new ByteArrayInputStream(".\r\n".getBytes())); > Changing to this will make it work > session.writeStream(new ByteArrayInputStream("\r\n.\r\n".getBytes())); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org