[ http://issues.apache.org/jira/browse/JAMES-424?page=comments#action_12434755 ] Noel J. Bergman commented on JAMES-424: ---------------------------------------
Personally, I would mark this as INVALID / WON"T FIX. The data is out of compliance with RFC 2822, and according to RFC 2821, the mail server should not be futzing around with the contents of the message. The real solution to this problem is, in fact, the latter. As we migrate away from using JavaMail to working more purely with streams, we should be able to avoid JavaMail induced problems. Then the problem surfaces only when we actually care, in processing a message as an mail application server, about its content, or when it is eventually delivered to an MUA, where it is that end's problem to comprehend. But I would NOT arbitrarily modify the message content in violation of RFC 2821. Just another reason to start moving way from JavaMail, and to use streams and MIME4J whenever possible > Invalid DATA for Message shows up in Headers in mailstore > --------------------------------------------------------- > > Key: JAMES-424 > URL: http://issues.apache.org/jira/browse/JAMES-424 > Project: James > Issue Type: Bug > Components: MailStore & MailRepository, SMTPServer > Affects Versions: 2.2.0 > Environment: WinXP > Reporter: Scott Carr > > If you open a connection to the server, and send in the following in the DATA > for the message: > This is a test > . > Then the data shows up in the headers instead of after the headers like it > should. Here is what I recieved in the message: > Return-Path: <[EMAIL PROTECTED]> > Received: from localhost ([127.0.0.1]) > by QRGMAIN (JAMES SMTP Server 2.2.0) with SMTP ID 792 > for <[EMAIL PROTECTED]>; > Thu, 6 Oct 2005 21:40:21 -0500 (CDT) > this is a test > Date: Thu, 6 Oct 2005 21:40:21 -0500 (CDT) > From: [EMAIL PROTECTED] > Delivered-To: [EMAIL PROTECTED] > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; charset=us-ascii > Mime-Version: 1.0 > Message-ID: <[EMAIL PROTECTED]> > Notice where 'this is a test' appears in the message. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]