This is not a bug.
A message contains headers and content, seperated by CRLFCRLF your message
has no CRLFCRLF to identify the end of the headers, therfore the message
*is* the headers.

RFC 2822[1] clearly states:

"A message consists of header fields (collectively called "the header
of the message") followed, optionally, by a body."

The headers aren't optional.
For those who understand gobbledegook  this detail [1] from section three
confirms it:

"message         =       (fields / obs-fields)
                        [CRLF body]

body            =       *(*998text CRLF) *998text"

And section three is described thus:
"The syntax included in section 3 represents messages as they MUST be
created."

d.

[1] http://james.apache.org/rfclist/basic/rfc2822.txt

|---------+---------------------------->
|         |           Laurent Rouvet   |
|         |           <[EMAIL PROTECTED]|
|         |           om>              |
|         |                            |
|         |           26/05/2004 11:00 |
|         |           PM               |
|         |           Please respond to|
|         |           "James Developers|
|         |           List"            |
|         |                            |
|---------+---------------------------->
  
>---------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                           |
  |       To:       [EMAIL PROTECTED]                                                  
                 |
  |       cc:                                                                          
                           |
  |       Subject:  BUG with small message                                             
                           |
  
>---------------------------------------------------------------------------------------------------------------|




Hi,

I've noticed a small bug if the message don't have any header line.


220 qdi.roovay.com SMTP Server (JAMES SMTP Server 2.1.3) ready Wed, 26
May 2004 23:57:59 +0200 (CEST)
helo roovay.com
250 qdi.roovay.com Hello roovay.com (localhost [127.0.0.1])
mail from:<[EMAIL PROTECTED]>
250 Sender <[EMAIL PROTECTED]> OK
rcpt to:<[EMAIL PROTECTED]>
250 Recipient <[EMAIL PROTECTED]> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
bonjour,
test
.
250 Message received


Then I get the following message in the table inbox:
---------------
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost ([127.0.0.1])
           by qdi.roovay.com (JAMES SMTP Server 2.1.3) with SMTP ID 913
           for <[EMAIL PROTECTED]>;
           Wed, 26 May 2004 23:58:28 +0200 (CEST)
bonjour,
test
Date: Wed, 26 May 2004 23:58:28 +0200 (CEST)
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]>

---------------


I'm using James v2.1.3 with a JDBC repository.

I'm not such which part of James is involve. The SMTP, core or mailets
LocalDelivery ?


Laurent

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






***************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) only. 
If you are not the intended recipient (or responsible for delivery of the message to 
the intended recipient) please notify us immediately on 0141 306 2050 and delete the 
message from your computer. You may not copy or forward it or use or disclose its 
contents to any other person. As Internet communications are capable of data 
corruption Student Loans Company Limited does not accept any  responsibility for 
changes made to this message after it was sent. For this reason it may be 
inappropriate to rely on advice or opinions contained in an e-mail without obtaining 
written confirmation of it. Neither Student Loans Company Limited or the sender 
accepts any liability or responsibility for viruses as it is your responsibility to 
scan attachments (if any). Opinions and views expressed in this e-mail are those of 
the sender and may not reflect the opinions and views of The Student Loans Company 
Limited.

This footnote also confirms that this email message has been swept for the presence of 
computer viruses.

**************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to