--- /dev/null
+Return-Path: <j.schauer@email.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 9D7B0431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 8 May 2013 06:15:50 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 9iy8oC9a4DJZ for <notmuch@notmuchmail.org>;\r
+ Wed, 8 May 2013 06:15:44 -0700 (PDT)\r
+Received: from mout.web.de (mout.web.de [212.227.17.11])\r
+ by olra.theworths.org (Postfix) with ESMTP id DF2A9431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 8 May 2013 06:15:43 -0700 (PDT)\r
+Received: from localhost ([212.201.44.247]) by smtp.web.de (mrweb103) with\r
+ ESMTPSA (Nemesis) id 0Lhvpu-1UDhkX2jGk-00nQev for\r
+ <notmuch@notmuchmail.org>; Wed, 08 May 2013 15:15:39 +0200\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+To: notmuch@notmuchmail.org\r
+Message-ID: <20130508131538.4060.37894@hoothoot>\r
+From: Johannes Schauer <j.schauer@email.de>\r
+User-Agent: alot/0.3.4\r
+Subject: attachment with missing Content-Disposition\r
+Date: Wed, 08 May 2013 15:15:38 +0200\r
+X-Provags-ID: V02:K0:10e3hL1fzoVP1zE/Yb0jtLtPhFpriUCrqBwQjUYCHxS\r
+ XoBNzH4ORB8+63W6RjvL1PkAQVTOeNZW9DpyAG9h+FlC4KnBbm\r
+ dseK3IYQZqhHLVtCQyYaZJSC+zXIbrJaLrI1Fc+jAGyQHV7otG\r
+ yODQPA0Vusm+3LBgKRipEMAXsVUPVb9l/3no9cmltje5gXq+0q\r
+ cvv0V7ND1xM2Xco3eIb1w==\r
+X-Mailman-Approved-At: Wed, 08 May 2013 06:21:26 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 08 May 2013 13:15:50 -0000\r
+\r
+Hi,\r
+\r
+I recently received a multipart email with one of the parts being a pdf but=\r
+ the\r
+part was not marked with "Content-Disposition: attachment". This let to not=\r
+much\r
+not adding tag:attachment to it.\r
+\r
+The sender assured me that he used Outlook 2013 but I can't reproduce the\r
+problem myself as I dont have microsoft products at hand. But if Outlook 20=\r
+13\r
+indeed adds attachments without setting "Content-Disposition: attachment", =\r
+then\r
+maybe the problem of notmuch not recognizing them as such is more severe?\r
+\r
+The question is also what to do about it and how to detect attachments of t=\r
+his\r
+kind. Apparently Thunderbird detects attachments that dont say\r
+"Content-Disposition: attachment" but I did not try to figure out what its\r
+heuristic is. Also the microsoft exchange server web client is able to figu=\r
+re\r
+out that this part is supposed to be an attachment. What do other MUAs do?\r
+\r
+So how to create a good heuristic? Using the Content-Type? In my case, the\r
+supposed attachment was "application/octet-stream" for which it is probably\r
+unambiguous that it is an attachment and not inline?\r
+\r
+Alternatively, how about making attachment detection configurable so that\r
+everybody is free to decide himself what he wants to be treated as attachme=\r
+nt?\r
+\r
+cheers, josch\r