[ 
http://issues.apache.org/jira/browse/JAMES-424?page=comments#action_12434748 ] 
            
Stefano Bagnara commented on JAMES-424:
---------------------------------------

I just talked with Norman about this and the problem seems to be that we pass 
the stream to javamail and javamail simply consider it an header until it finds 
a CRLFCRLF (I believe RFC simply state this, any clue?).

One possible solution would be to add a streamfilter in the incoming chain and 
manually add a CRLF before a line not resembling an header (no ":", header name 
does not follow the specs..) so that javamail will use the remaining data as 
body.


> 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]

Reply via email to