You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (Created) (JIRA)" <ji...@apache.org> on 2012/01/13 08:49:38 UTC

[jira] [Created] (PROTOCOLS-88) Malformed Headers created by SMTP

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


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: <er...@localhost.net>
Delivered-To: eric@localhost.net
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
          for <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
Message-ID: <4F...@localhost.net>
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
          for <er...@localhost.net>;          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 <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
From: Eric Charles Localhost <er...@localhost.net>
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
          for <er...@localhost.net>;          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 <er...@localhost.net>;          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 <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
To: eric@localhost.net
Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
          for <er...@localhost.net>;          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 <er...@localhost.net>;          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 <er...@localhost.net>;          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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Eric Charles <er...@apache.org>.
Yes, SMTP working :)

I had however to rollback to my 4-months old server version due to 
possibly IMAP-345 (IMAP was broken with my existing mailboxes).

To further test SMTP and POP3 for the protocols 1.6.0. release, this 
would need to get fixed.

Thx!

Eric


On 14/01/12 17:12, Norman Maurer wrote:
> Hi Eric,
>
> I think everything is sorted now... It was a bug in protocols and also one
> in server. So you need to checkout both trunk versions.
>
> Thanks!
>
> 2012/1/14 Eric Charles<er...@apache.org>
>
>> oh, and there is still a (null), just after serv002
>> Eric
>>
>>
>> On 14/01/12 11:18, Eric Charles wrote:
>>
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@apache.org>:
>>>>
>>>>   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:<er...@u-mangate.com>>
>>>>> Delivered-To: eric.charles@u-mangate.com
>>>>> MIME-Version: 1.0
>>>>> Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
>>>>> by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> 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/**2dsb2JhbABDjEyfYoEHgQaCEh8eIj0**
>>>>> WGAMCAQIBJxgZCAEBh3iXI59DiHuDH**ASnUQ
>>>>>
>>>>> Received: from 29.192-178-91.adsl-dyn.isp.**belgacom.be<http://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:<4F...@u-mangate.com>
>>>>>>
>>>>> Date: Sat, 14 Jan 2012 08:27:34 +0100
>>>>> From: Eric Charles<er...@u-mangate.com>
>>>>>>
>>>>> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0)
>>>>> Gecko/20111105 Thunderbird/8.0
>>>>> To: eric.charles@u-mangate.com
>>>>> Subject: qsdfqsfdqs
>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>> Content-Transfer-Encoding: 7bit
>>>>>
>>>>> qsdfqsd
>>>>>
>>>>>
>>>>> [2]
>>>>>
>>>>> Return-Path:<er...@u-mangate.com>>
>>>>> Delivered-To: eric.charles@u-mangate.com
>>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>>> by srv002 (null) with ESMTP ID 508649953
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>>> X-IronPort-Anti-Spam-Result:
>>>>> AkkQAFErEU9bssAd/**2dsb2JhbABDjEyfYoEHgQaCEh8eIj0**
>>>>> WGAMCAQIBJxgZCAEBh3iXI59DiHuDH**ASnUQ
>>>>>
>>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>>> by srv002 (null) with ESMTP ID 508649953
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>>> Received: from 29.192-178-91.adsl-dyn.isp.**belgacom.be<http://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<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>>> Message-ID:<4F...@u-mangate.com>
>>>>>>
>>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>>> by srv002 (null) with ESMTP ID 508649953
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>>> From: Eric Charles<er...@u-mangate.com>
>>>>>>
>>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>>> by srv002 (null) with ESMTP ID 508649953
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>>> To: eric.charles@u-mangate.com
>>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>>> by srv002 (null) with ESMTP ID 508649953
>>>>> for<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> 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<eric.charles@u-mangate.com**>;
>>>>> 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<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<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:<er...@localhost.net>>
>>>>>>> Delivered-To: eric@localhost.net
>>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>>> 1242552473
>>>>>>> for<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>>> Message-ID:<4F...@localhost.net>
>>>>>>>>
>>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>>> 1242552473
>>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>>> From: Eric Charles Localhost<er...@localhost.net>
>>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>>> 1242552473
>>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>>> To: eric@localhost.net
>>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>>> 1242552473
>>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; 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<https://issues.apache.org/jira/secure/ContactAdministrators%21default.jspa>
>>>>>>
>>>>>> For more information on JIRA, see:
>>>>>> http://www.atlassian.com/**software/jira<http://www.atlassian.com/software/jira>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------**------------------------------**
>>>>>> ---------
>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>>>
>>>>>>
>>>>> --
>>>>> eric | http://about.echarles.net | @echarles
>>>>>
>>>>> ------------------------------**------------------------------**
>>>>> ---------
>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>>
>>>>>
>>>> ------------------------------**------------------------------**
>>>> ---------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>
>>>>
>>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>
>>
>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Norman Maurer <no...@googlemail.com>.
Hi Eric,

I think everything is sorted now... It was a bug in protocols and also one
in server. So you need to checkout both trunk versions.

Thanks!

2012/1/14 Eric Charles <er...@apache.org>

> oh, and there is still a (null), just after serv002
> Eric
>
>
> On 14/01/12 11:18, Eric Charles wrote:
>
>> 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 <er...@u-mangate.com>;
>> 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 <er...@u-mangate.com>;
>> 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<er...@apache.org>:
>>>
>>>  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:<eric.charles@u-**mangate.com <er...@u-mangate.com>>
>>>> Delivered-To: eric.charles@u-mangate.com
>>>> MIME-Version: 1.0
>>>> Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
>>>> by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
>>>> for<eric.charles@u-mangate.com**>;
>>>> 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/**2dsb2JhbABDjEyfYoEHgQaCEh8eIj0**
>>>> WGAMCAQIBJxgZCAEBh3iXI59DiHuDH**ASnUQ
>>>>
>>>> Received: from 29.192-178-91.adsl-dyn.isp.**belgacom.be<http://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:<4F...@u-mangate.com>
>>>> >
>>>> Date: Sat, 14 Jan 2012 08:27:34 +0100
>>>> From: Eric Charles<er...@u-mangate.com>
>>>> >
>>>> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0)
>>>> Gecko/20111105 Thunderbird/8.0
>>>> To: eric.charles@u-mangate.com
>>>> Subject: qsdfqsfdqs
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>> Content-Transfer-Encoding: 7bit
>>>>
>>>> qsdfqsd
>>>>
>>>>
>>>> [2]
>>>>
>>>> Return-Path:<eric.charles@u-**mangate.com <er...@u-mangate.com>>
>>>> Delivered-To: eric.charles@u-mangate.com
>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>> by srv002 (null) with ESMTP ID 508649953
>>>> for<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>> X-IronPort-Anti-Spam-Result:
>>>> AkkQAFErEU9bssAd/**2dsb2JhbABDjEyfYoEHgQaCEh8eIj0**
>>>> WGAMCAQIBJxgZCAEBh3iXI59DiHuDH**ASnUQ
>>>>
>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>> by srv002 (null) with ESMTP ID 508649953
>>>> for<eric.charles@u-mangate.com**>;
>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>> Received: from 29.192-178-91.adsl-dyn.isp.**belgacom.be<http://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<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>> Message-ID:<4F...@u-mangate.com>
>>>> >
>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>> by srv002 (null) with ESMTP ID 508649953
>>>> for<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>> From: Eric Charles<er...@u-mangate.com>
>>>> >
>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>> by srv002 (null) with ESMTP ID 508649953
>>>> for<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>>> To: eric.charles@u-mangate.com
>>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>>> by srv002 (null) with ESMTP ID 508649953
>>>> for<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> 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<eric.charles@u-mangate.com**>;
>>>> 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<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<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:<eric@localhost.**net <er...@localhost.net>>
>>>>>> Delivered-To: eric@localhost.net
>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>> 1242552473
>>>>>> for<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>> Message-ID:<4F...@localhost.net>
>>>>>> >
>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>> 1242552473
>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>> From: Eric Charles Localhost<er...@localhost.net>
>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>> 1242552473
>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>>> To: eric@localhost.net
>>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>>> 1242552473
>>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; 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<https://issues.apache.org/jira/secure/ContactAdministrators%21default.jspa>
>>>>>
>>>>> For more information on JIRA, see:
>>>>> http://www.atlassian.com/**software/jira<http://www.atlassian.com/software/jira>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------**------------------------------**
>>>>> ---------
>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>>
>>>>>
>>>> --
>>>> eric | http://about.echarles.net | @echarles
>>>>
>>>> ------------------------------**------------------------------**
>>>> ---------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>
>>>>
>>> ------------------------------**------------------------------**
>>> ---------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>
>>>
>>
> --
> eric | http://about.echarles.net | @echarles
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>
>

Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Eric Charles <er...@apache.org>.
oh, and there is still a (null), just after serv002
Eric

On 14/01/12 11:18, Eric Charles wrote:
> 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 <er...@u-mangate.com>;
> 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 <er...@u-mangate.com>;
> 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<er...@apache.org>:
>>
>>> 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:<er...@u-mangate.com>
>>> Delivered-To: eric.charles@u-mangate.com
>>> MIME-Version: 1.0
>>> Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
>>> by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
>>> for<er...@u-mangate.com>;
>>> 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:<4F...@u-mangate.com>
>>> Date: Sat, 14 Jan 2012 08:27:34 +0100
>>> From: Eric Charles<er...@u-mangate.com>
>>> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0)
>>> Gecko/20111105 Thunderbird/8.0
>>> To: eric.charles@u-mangate.com
>>> Subject: qsdfqsfdqs
>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>> Content-Transfer-Encoding: 7bit
>>>
>>> qsdfqsd
>>>
>>>
>>> [2]
>>>
>>> Return-Path:<er...@u-mangate.com>
>>> Delivered-To: eric.charles@u-mangate.com
>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>> by srv002 (null) with ESMTP ID 508649953
>>> for<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>> Message-ID:<4F...@u-mangate.com>
>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>> by srv002 (null) with ESMTP ID 508649953
>>> for<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>> From: Eric Charles<er...@u-mangate.com>
>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>> by srv002 (null) with ESMTP ID 508649953
>>> for<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>>> To: eric.charles@u-mangate.com
>>> Received: from mailrelay001.isp.belgacom.be (EHLO
>>> mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>> by srv002 (null) with ESMTP ID 508649953
>>> for<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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<er...@u-mangate.com>;
>>> 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:<er...@localhost.net>
>>>>> Delivered-To: eric@localhost.net
>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>> 1242552473
>>>>> for<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>> Message-ID:<4F...@localhost.net>
>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>> 1242552473
>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>> From: Eric Charles Localhost<er...@localhost.net>
>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>> 1242552473
>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>>> To: eric@localhost.net
>>>>> Received: by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID
>>>>> 1242552473
>>>>> for<er...@localhost.net>; 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<er...@localhost.net>; 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<er...@localhost.net>; 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: server-dev-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>
>>>
>>> --
>>> eric | http://about.echarles.net | @echarles
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Eric Charles <er...@apache.org>.
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 <er...@u-mangate.com>;
          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 <er...@u-mangate.com>;
          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<er...@apache.org>:
>
>> 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:<er...@u-mangate.com>
>> Delivered-To: eric.charles@u-mangate.com
>> MIME-Version: 1.0
>> Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
>>           by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
>>           for<er...@u-mangate.com>;
>>           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:<4F...@u-mangate.com>
>> Date: Sat, 14 Jan 2012 08:27:34 +0100
>> From: Eric Charles<er...@u-mangate.com>
>> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0
>> To: eric.charles@u-mangate.com
>> Subject: qsdfqsfdqs
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> Content-Transfer-Encoding: 7bit
>>
>> qsdfqsd
>>
>>
>> [2]
>>
>> Return-Path:<er...@u-mangate.com>
>> Delivered-To: eric.charles@u-mangate.com
>> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>           by srv002 (null) with ESMTP ID 508649953
>>           for<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>> Message-ID:<4F...@u-mangate.com>
>> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>           by srv002 (null) with ESMTP ID 508649953
>>           for<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>> From: Eric Charles<er...@u-mangate.com>
>> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>           by srv002 (null) with ESMTP ID 508649953
>>           for<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
>> To: eric.charles@u-mangate.com
>> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>>           by srv002 (null) with ESMTP ID 508649953
>>           for<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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<er...@u-mangate.com>;
>>           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:<er...@localhost.net>
>>>> Delivered-To: eric@localhost.net
>>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>>            for<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>> Message-ID:<4F...@localhost.net>
>>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>>            for<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>> From: Eric Charles Localhost<er...@localhost.net>
>>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>>            for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>>> To: eric@localhost.net
>>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>>            for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          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: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Norman Maurer <no...@googlemail.com>.
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 <er...@apache.org>:

> 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: <er...@u-mangate.com>
> Delivered-To: eric.charles@u-mangate.com
> MIME-Version: 1.0
> Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
>          by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
>          for <er...@u-mangate.com>;
>          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: <4F...@u-mangate.com>
> Date: Sat, 14 Jan 2012 08:27:34 +0100
> From: Eric Charles <er...@u-mangate.com>
> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0
> To: eric.charles@u-mangate.com
> Subject: qsdfqsfdqs
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> qsdfqsd
> 
> 
> [2]
> 
> Return-Path: <er...@u-mangate.com>
> Delivered-To: eric.charles@u-mangate.com
> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>          by srv002 (null) with ESMTP ID 508649953
>          for <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
> Message-ID: <4F...@u-mangate.com>
> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>          by srv002 (null) with ESMTP ID 508649953
>          for <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
> From: Eric Charles <er...@u-mangate.com>
> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>          by srv002 (null) with ESMTP ID 508649953
>          for <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          Sat, 14 Jan 2012 08:22:53 +0100 (CET)
> To: eric.charles@u-mangate.com
> Received: from mailrelay001.isp.belgacom.be (EHLO mailrelay001.isp.belgacom.be) ([195.238.6.51])
>          by srv002 (null) with ESMTP ID 508649953
>          for <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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 <er...@u-mangate.com>;
>          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:<er...@localhost.net>
>>> Delivered-To: eric@localhost.net
>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>           for<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>> Message-ID:<4F...@localhost.net>
>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>           for<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>> From: Eric Charles Localhost<er...@localhost.net>
>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>           for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>>> To: eric@localhost.net
>>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>>           for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          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: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>> 
> 
> -- 
> eric | http://about.echarles.net | @echarles
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by Eric Charles <er...@apache.org>.
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: <er...@u-mangate.com>
Delivered-To: eric.charles@u-mangate.com
MIME-Version: 1.0
Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
           by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
           for <er...@u-mangate.com>;
           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: <4F...@u-mangate.com>
Date: Sat, 14 Jan 2012 08:27:34 +0100
From: Eric Charles <er...@u-mangate.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) 
Gecko/20111105 Thunderbird/8.0
To: eric.charles@u-mangate.com
Subject: qsdfqsfdqs
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

qsdfqsd


[2]

Return-Path: <er...@u-mangate.com>
Delivered-To: eric.charles@u-mangate.com
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])
           by srv002 (null) with ESMTP ID 508649953
           for <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Message-ID: <4F...@u-mangate.com>
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])
           by srv002 (null) with ESMTP ID 508649953
           for <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
From: Eric Charles <er...@u-mangate.com>
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])
           by srv002 (null) with ESMTP ID 508649953
           for <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           Sat, 14 Jan 2012 08:22:53 +0100 (CET)
To: eric.charles@u-mangate.com
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])
           by srv002 (null) with ESMTP ID 508649953
           for <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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 <er...@u-mangate.com>;
           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:<er...@localhost.net>
>> Delivered-To: eric@localhost.net
>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>            for<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>> Message-ID:<4F...@localhost.net>
>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>            for<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>> From: Eric Charles Localhost<er...@localhost.net>
>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>            for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
>> To: eric@localhost.net
>> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>>            for<er...@localhost.net>;          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<er...@localhost.net>;          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<er...@localhost.net>;          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: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

Posted by "Norman Maurer (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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: <er...@localhost.net>
> Delivered-To: eric@localhost.net
> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>           for <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
> Message-ID: <4F...@localhost.net>
> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>           for <er...@localhost.net>;          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 <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
> From: Eric Charles Localhost <er...@localhost.net>
> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>           for <er...@localhost.net>;          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 <er...@localhost.net>;          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 <er...@localhost.net>;          Fri, 13 Jan 2012 07:54:48 +0100 (CET)null
> To: eric@localhost.net
> Received:           by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 1242552473
>           for <er...@localhost.net>;          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 <er...@localhost.net>;          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 <er...@localhost.net>;          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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org