Yes Norman, this is the case.
For example:

...
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
         by srv002 (null) with ESMTP ID 508649953
         for <[email protected]>;
         Sat, 14 Jan 2012 08:22:53 +0100 (CET)
...
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
         by srv002 (null) with ESMTP ID 508649953
         for <[email protected]>;
         Sat, 14 Jan 2012 08:22:53 +0100 (CET)
...

Thx,
Eric



On 14/01/12 09:16, Norman Maurer wrote:
Hmm,

So the same header is included multiple times right?

Thanks,
Norman

Sent from my iPhone. Excuse any typos....

Am 14.01.2012 um 08:29 schrieb Eric Charles<[email protected]>:

Hi Norman,

This headers are now well formatted, but I have numerous one with the same 
information (was also the case in the header I copied in the jira, but I didn't 
mention it).

See [1] for a normal behavior and [2] for the duplicated headers

I didn't investigate yet to see if this comes from server or protocols project.


[1]

Return-Path:<[email protected]>
Delivered-To: [email protected]
MIME-Version: 1.0
Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
          by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
          for<[email protected]>;
          Sat, 14 Jan 2012 08:27:36 +0100 (CET)
X-Belgacom-Dynamic: yes
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: 
AkkQAHgtEU9bssAd/2dsb2JhbABDjEyfYoEHgQaCEh8eIj0WGAMCAQIBJxgZCAEBh3iXI59DiHuDHASnUQ
Received: from 29.192-178-91.adsl-dyn.isp.belgacom.be (HELO 
Eric-Charles-MacBook-Pro.local) ([91.178.192.29])
  by relay.skynet.be with ESMTP; 14 Jan 2012 08:27:35 +0100
Message-ID:<[email protected]>
Date: Sat, 14 Jan 2012 08:27:34 +0100
From: Eric Charles<[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 
Thunderbird/8.0
To: [email protected]
Subject: qsdfqsfdqs
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

qsdfqsd


[2]

Return-Path:<[email protected]>
Delivered-To: [email protected]
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-Belgacom-Dynamic: yes
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-IronPort-Anti-Spam-Filtered: true
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-IronPort-Anti-Spam-Result: 
AkkQAFErEU9bssAd/2dsb2JhbABDjEyfYoEHgQaCEh8eIj0WGAMCAQIBJxgZCAEBh3iXI59DiHuDHASnUQ
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Received: from 29.192-178-91.adsl-dyn.isp.belgacom.be (HELO 
Eric-Charles-MacBook-Pro.local) ([91.178.192.29])
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
  by relay.skynet.be with ESMTP; 14 Jan 2012 08:22:52 +0100
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Message-ID:<[email protected]>
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Date: Sat, 14 Jan 2012 08:22:52 +0100
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
From: Eric Charles<[email protected]>
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 
Thunderbird/8.0
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
MIME-Version: 1.0
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
To: [email protected]
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Subject: sdfqsdfq qdfs
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) 
([195.238.6.51])
          by srv002 (null) with ESMTP ID 508649953
          for<[email protected]>;
          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Content-Transfer-Encoding: 7bit

qsdf qd

On 13/01/12 17:03, Norman Maurer (Resolved) (JIRA) wrote:

      [ 
https://issues.apache.org/jira/browse/PROTOCOLS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved PROTOCOLS-88.
------------------------------------

        Resolution: Fixed
     Fix Version/s: 1.6.0

fixed.... thanks for reporting

Malformed Headers created by SMTP
---------------------------------

                 Key: PROTOCOLS-88
                 URL: https://issues.apache.org/jira/browse/PROTOCOLS-88
             Project: JAMES Protocols
          Issue Type: Bug
          Components: smtp
            Reporter: Eric Charles
            Assignee: Norman Maurer
             Fix For: 1.6.0


Sending emails with server trunk stores mails with weird headers (see [1] 
multiples spaces, presence of 'null' string)
Running SMTPServerTest.testSimpleDelivery shows an envelope with the 
bytearrayoutputstream having the same issue (see [2])
(This weird headers sometimes confuse mail client, sometimes not)
[1]
Return-Path:<[email protected]>
Delivered-To: [email protected]
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
Message-ID:<[email protected]>
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
Date: Fri, 13 Jan 2012 07:54:47 +0100
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
From: Eric Charles Localhost<[email protected]>
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 
Thunderbird/8.0
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
MIME-Version: 1.0
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
To: [email protected]
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
Subject: This is a simple test subject
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
1242552473
           for<[email protected]>;          Fri, 13 Jan 2012 07:54:48 +0100 
(CET)null
Content-Transfer-Encoding: 7bit
This is a simple test body.
Eric
[2]
Received:           by localhost (JAMES SMTP Protocols Server) with SMTP ID 
127861719;          Fri, 13 Jan 2012 08:02:09 +0100 (CET)null
Subject: Testmessage
This is a message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.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]


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to