[OP-183] Some attachments are considered as inline Created: 10/Mar/15  Updated: 19/May/15  Resolved: 19/May/15

Status: Closed
Project: Opush
Component/s: None
Affects Version/s: 3.1.0
Fix Version/s: 3.1.0

Type: Bug Priority: Normal
Reporter: Antoine DUPRAT Assignee: Antoine DUPRAT
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File only_attachments.eml    
Issue Links:
relates to OBMFULL-6378 MimePart should check it's contentTyp... Closed
Rank: 6793



usera imports the given email with TBird.

Reproduction steps

As usera synchronize with his phone, then one attachment is inline.

Current behavior

Only one attachment in AirSyncBase:Attachments section.

  1. NOK
    <Email:To>"usera" &lt;usera@adupratvm.lyon.lan&gt; </Email:To>
    <Email:From> &lt;usera@adupratvm.lyon.lan&gt; </Email:From>
    <Email:ReplyTo> &lt;usera@adupratvm.lyon.lan&gt; </Email:ReplyTo>
    <Email:Subject>Only two attachments</Email:Subject>
    <Email:DisplayTo>"usera" &lt;usera@adupratvm.lyon.lan&gt; </Email:DisplayTo>
    <AirSyncBase:Data><![CDATA[Return-Path: <usera@adupratvm.lyon.lan>
    Received: from adupratvm.lyon.lan (localhost [])
             by adupratvm (Cyrus v2.4.16-Debian-2.4.16-4+deb7u2) with LMTPA;
             Tue, 10 Mar 2015 14:42:41 +0100
    X-Sieve: CMU Sieve 2.4
    Received: from localhost (localhost [])
            by adupratvm.lyon.lan (Postfix) with ESMTP id A237060DC3
            for <usera@adupratvm.lyon.lan>; Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    X-Virus-Scanned: Debian amavisd-new at adupratvm.lyon.lan
    Received: from adupratvm.lyon.lan ([])
            by localhost (adupratvm.lyon.lan []) (amavisd-new, port 10024)
            with ESMTP id pRe8rx4eV4is for <usera@adupratvm.lyon.lan>;
            Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    Received: from [] (localhost [])
            by adupratvm.lyon.lan (Postfix) with ESMTP id 19F8160DC5
            for <usera@adupratvm.lyon.lan>; Tue, 10 Mar 2015 14:42:41 +0100 (CET)
    Date: Tue, 10 Mar 2015 14:42:38 +0100
    Subject: Only two attachments
    From: usera@adupratvm.lyon.lan
    To: usera <usera@adupratvm.lyon.lan>
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="--_com.android.email_558759255408330"
    Message-Id: <20150310134241.19F8160DC5@adupratvm.lyon.lan>

Expected behavior

Both attachments should be in AirSyncBase:Attachments section.

  1. OK

Comment by Antoine DUPRAT [ 13/Mar/15 ]

QA: MimePart with content-disposition equals to attachment are now considered as attachments.

Comment by Jenkins Continuous Integration Server [ 13/Mar/15 ]

ABORTED: Integrated in opush-master #206
OP-183 Change the dependency version (thilaire: 46f76d9e900f2d1032c6812566acbaafdc6021f6)

Comment by Thomas HILAIRE [ 30/Mar/15 ]

NOK I didn't encounter any issue with this ticket, it seems OK.
I reopen it thanks to OP-180, I want to make the QA after its correction.

Comment by Stephane COLSON [ 19/May/15 ]

OK with Opush 3.1.0-rc1

Generated at Sat Oct 24 00:11:56 CEST 2020 using JIRA 6.1.1#6155-sha1:7188aeec9a6b57d61ea04c52f235f15f55c105e2.