Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing colon in header breaks parser #689

Closed
honcheng opened this issue Apr 24, 2014 · 2 comments
Closed

Missing colon in header breaks parser #689

honcheng opened this issue Apr 24, 2014 · 2 comments

Comments

@honcheng
Copy link
Contributor

Emails with runbox.com omits a colon for the 'From' field in the header in the first line.

e.g.

From email@address.com Fri Feb 14 08:55:52 2014
Return-path: <email@address.com>
Received: from [10.9.9.209] (helo=mailfront04.runbox.com)
    by taishi.runbox.com with esmtp  (Exim 4.69)
    id 1WEDcm-0007wK-K5
    for email@runbox.com; Fri, 14 Feb 2014 08:55:52 +0100
Received: from exim by mailfront04.runbox.com with sa-scanned  (Exim 4.76)
    id 1WEDcm-0003q7-BQ
    for email@runbox.com; Fri, 14 Feb 2014 08:55:52 +0100
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on kvik.runbox.com
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=4.0 tests=HTML_MESSAGE,
    RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.1
.......
.......
X-Received: by 10.194.119.230 with SMTP id kx6mr2980187wjb.13.1392364535801;
 Thu, 13 Feb 2014 23:55:35 -0800 (PST)
Received: by 10.227.16.131 with HTTP; Thu, 13 Feb 2014 23:55:35 -0800 (PST)
X-Originating-IP: [202.83.104.56]
In-Reply-To: <8DFEAC10-0DE8-4CBD-8EBA-24CD2DF5DC22@dfwe.net>
References: <8DFEAC10-0DE8-4CBD-8EBA-24CD2DF5DC22@dfwe.net>
Date: Fri, 14 Feb 2014 15:55:35 +0800
Message-ID: <CAPosdDc9ifDrpCZPjaykFoVRf-7hkR=76q6p+psHdV9eYHUgPA@mail.gmail.com>
Subject: Re: ..
From: From_name <email@address.com>
To: To_name <email@runbox.com>
Content-Type: multipart/alternative; boundary=089e0115fe2e8dfbc004f25921d6

This causes everything in the header to be displayed in the email body. Mail app seems to be handling this email without a problem, but MailCore breaks.

It's strange that runbox.com does that. Should MailCore be able to handle this? Not sure what is runbox.com intention with the first line because the 'From' field is also available further down in the header.

@peteroupc
Copy link

I think it's because the first line of that message uses the so-called "Berkeley Mbox" convention (note that that line contains not only an address but also a date).

@dinhvh
Copy link
Member

dinhvh commented Jul 16, 2014

That said, it would be nice to have a workaround for this common issue.

@dinhvh dinhvh closed this as completed in dd6e71e Jul 16, 2014
antmd pushed a commit to antmd/mailcore2 that referenced this issue Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants