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