{"action":"closed","issue":{"url":"https://api.github.com/repos/owainlewis/clojure-mail/issues/36","labels_url":"https://api.github.com/repos/owainlewis/clojure-mail/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/owainlewis/clojure-mail/issues/36/comments","events_url":"https://api.github.com/repos/owainlewis/clojure-mail/issues/36/events","html_url":"https://github.com/owainlewis/clojure-mail/issues/36","id":120583457,"number":36,"title":"Missing Received headers","user":{"login":"f0086","id":121972,"avatar_url":"https://avatars.githubusercontent.com/u/121972?v=3","gravatar_id":"","url":"https://api.github.com/users/f0086","html_url":"https://github.com/f0086","followers_url":"https://api.github.com/users/f0086/followers","following_url":"https://api.github.com/users/f0086/following{/other_user}","gists_url":"https://api.github.com/users/f0086/gists{/gist_id}","starred_url":"https://api.github.com/users/f0086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0086/subscriptions","organizations_url":"https://api.github.com/users/f0086/orgs","repos_url":"https://api.github.com/users/f0086/repos","events_url":"https://api.github.com/users/f0086/events{/privacy}","received_events_url":"https://api.github.com/users/f0086/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T19:55:09Z","updated_at":"2015-12-06T13:22:19Z","closed_at":"2015-12-06T13:22:19Z","body":"Some header fields like \"Received\" appear are more than one time in a mail header. So, a Hash is not a good idea to put in the header fields. This results in missing \"Received\" fields, because the key is unique.\r\n\r\nExample:\r\n\r\nE-Mail\r\n````\r\nReturn-Path: <newsletter@basislager.de>\r\nX-Original-To: aaron@gridbag.net\r\nDelivered-To: aaron@gridbag.net\r\nReceived: by remote.gridbag.net (Postfix, from userid 5001)\r\n\tid 1A4894E0698; Fri,  2 Oct 2015 16:46:50 +0200 (CEST)\r\nX-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on\r\n\tlvps83-169-3-141.dedicated.hosteurope.de\r\nX-Spam-Level: \r\nX-Spam-Status: No, score=-0.7 required=6.0 tests=RCVD_IN_DNSWL_LOW,\r\n\tURIBL_BLOCKED autolearn=unavailable version=3.3.1\r\nReceived: from vwp11863.webpack.hosteurope.de (vwp11863.webpack.hosteurope.de [91.250.70.227])\r\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\r\n\t(No client certificate requested)\r\n\tby remote.gridbag.net (Postfix) with ESMTPS id D676F4E0613\r\n\tfor <mail@aaron-mueller.de>; Fri,  2 Oct 2015 16:46:49 +0200 (CEST)\r\nReceived: from pd95c6860.dip0.t-ipconnect.de ([217.92.104.96] helo=[192.168.20.12]); authenticated\r\n\tby vwp11863.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\r\n\tid 1Zi1bi-0006zp-VF; Fri, 02 Oct 2015 16:46:47 +0200\r\n````\r\n\r\nParser result:\r\n```\r\n...., \"Received\" \"from pd95c6860.dip0.t-ipconnect.de ([217.92.104.96] helo=[192.168.20.12]); authenticated\\r\\n\\tby vwp11863.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\\r\\n\\tid 1Zi1bi-0006zp-VF; Fri, 02 Oct 2015 16:46:47 +0200\",  ...."}}