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

Sendmail do exactly what PostFix and Exchange did.

I just tested sending this message
---------------------------
Subject: test
invalid header line

possible body
-----------------------------
to a sendmail server and I received via pop3 (sorry, there is a firewall on 
this and I don't know what is the pop3 server)
--------------------------
Return-Path: <my MAIL FROM address>
Received: <the received>
Date: <current date>
From: <my MAIL FROM address>
Subject: test

invalid header line

possible body
--------------------------
So it seems that sendmail alter the message content (and not only for the 
received header).
The same thing is done by every other mailserver we tested (I have yet to find 
another one acting like james).

Btw, as you keep saying this is a problem in Javamail (and I could agree) I 
would like to know where you would add the Received: header in the following 
message:

--------------------------------
This is a test
Received: <a received header>
--------------------------------


> 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: SMTPServer, MailStore & MailRepository
>    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