[PATCH 7/9] CLI: add properties to dump output
[notmuch-archives.git] / 4a / 81116059c7adf45f75b499dd6eca1a88ab2c44
1 Return-Path: <j.schauer@email.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 9D7B0431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  8 May 2013 06:15:50 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 9iy8oC9a4DJZ for <notmuch@notmuchmail.org>;\r
16         Wed,  8 May 2013 06:15:44 -0700 (PDT)\r
17 Received: from mout.web.de (mout.web.de [212.227.17.11])\r
18         by olra.theworths.org (Postfix) with ESMTP id DF2A9431FAF\r
19         for <notmuch@notmuchmail.org>; Wed,  8 May 2013 06:15:43 -0700 (PDT)\r
20 Received: from localhost ([212.201.44.247]) by smtp.web.de (mrweb103) with\r
21         ESMTPSA (Nemesis) id 0Lhvpu-1UDhkX2jGk-00nQev for\r
22         <notmuch@notmuchmail.org>; Wed, 08 May 2013 15:15:39 +0200\r
23 Content-Type: text/plain; charset="utf-8"\r
24 MIME-Version: 1.0\r
25 Content-Transfer-Encoding: quoted-printable\r
26 To: notmuch@notmuchmail.org\r
27 Message-ID: <20130508131538.4060.37894@hoothoot>\r
28 From: Johannes Schauer <j.schauer@email.de>\r
29 User-Agent: alot/0.3.4\r
30 Subject: attachment with missing Content-Disposition\r
31 Date: Wed, 08 May 2013 15:15:38 +0200\r
32 X-Provags-ID: V02:K0:10e3hL1fzoVP1zE/Yb0jtLtPhFpriUCrqBwQjUYCHxS\r
33         XoBNzH4ORB8+63W6RjvL1PkAQVTOeNZW9DpyAG9h+FlC4KnBbm\r
34         dseK3IYQZqhHLVtCQyYaZJSC+zXIbrJaLrI1Fc+jAGyQHV7otG\r
35         yODQPA0Vusm+3LBgKRipEMAXsVUPVb9l/3no9cmltje5gXq+0q\r
36         cvv0V7ND1xM2Xco3eIb1w==\r
37 X-Mailman-Approved-At: Wed, 08 May 2013 06:21:26 -0700\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 08 May 2013 13:15:50 -0000\r
51 \r
52 Hi,\r
53 \r
54 I recently received a multipart email with one of the parts being a pdf but=\r
55  the\r
56 part was not marked with "Content-Disposition: attachment". This let to not=\r
57 much\r
58 not adding tag:attachment to it.\r
59 \r
60 The sender assured me that he used Outlook 2013 but I can't reproduce the\r
61 problem myself as I dont have microsoft products at hand. But if Outlook 20=\r
62 13\r
63 indeed adds attachments without setting "Content-Disposition: attachment", =\r
64 then\r
65 maybe the problem of notmuch not recognizing them as such is more severe?\r
66 \r
67 The question is also what to do about it and how to detect attachments of t=\r
68 his\r
69 kind. Apparently Thunderbird detects attachments that dont say\r
70 "Content-Disposition: attachment" but I did not try to figure out what its\r
71 heuristic is. Also the microsoft exchange server web client is able to figu=\r
72 re\r
73 out that this part is supposed to be an attachment. What do other MUAs do?\r
74 \r
75 So how to create a good heuristic? Using the Content-Type? In my case, the\r
76 supposed attachment was "application/octet-stream" for which it is probably\r
77 unambiguous that it is an attachment and not inline?\r
78 \r
79 Alternatively, how about making attachment detection configurable so that\r
80 everybody is free to decide himself what he wants to be treated as attachme=\r
81 nt?\r
82 \r
83 cheers, josch\r