[PATCH] cli: change "setup" to "set up" where used as a verb
[notmuch-archives.git] / fe / 473fddc0b904d1c321579c534fc0d4e0bd672e
1 Return-Path: <perttu.luukko@iki.fi>\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 5FA7E431FC0\r
6         for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 23:52:29 -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 tests=[none]\r
12         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 IVdyEMS4IcAQ for <notmuch@notmuchmail.org>;\r
16         Sun, 31 Aug 2014 23:52:23 -0700 (PDT)\r
17 Received: from mail.kapsi.fi (mail.kapsi.fi [217.30.184.167])\r
18         (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 2DA5E431FAE\r
21         for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 23:52:23 -0700 (PDT)\r
22 Received: from lakka.kapsi.fi ([2001:1bc8:1004::1] ident=Debian-exim)\r
23         by mail.kapsi.fi with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\r
24         (Exim 4.72) (envelope-from <perttu.luukko@iki.fi>)\r
25         id 1XOLTQ-0002QR-Ve; Mon, 01 Sep 2014 09:52:20 +0300\r
26 Received: from nuteater by lakka.kapsi.fi with local (Exim 4.80)\r
27         (envelope-from <perttu.luukko@iki.fi>)\r
28         id 1XOLTQ-0007Y9-Ow; Mon, 01 Sep 2014 09:52:20 +0300\r
29 Date: Mon, 1 Sep 2014 09:52:20 +0300\r
30 From: Perttu Luukko <perttu.luukko@iki.fi>\r
31 To: David Bremner <david@tethera.net>\r
32 Subject: Re: How to debug 'ignoring non-mail file' issues\r
33 Message-ID: <20140901065220.GB3901@lakka.kapsi.fi>\r
34 References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi>\r
35         <87tx4ssoux.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 Content-Disposition: inline\r
39 In-Reply-To: <87tx4ssoux.fsf@maritornes.cs.unb.ca>\r
40 User-Agent: Mutt/1.5.22.1 (2013-10-16)\r
41 X-SA-Exim-Connect-IP: 2001:1bc8:1004::1\r
42 X-SA-Exim-Mail-From: perttu.luukko@iki.fi\r
43 X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false\r
44 Cc: notmuch@notmuchmail.org\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 01 Sep 2014 06:52:29 -0000\r
58 \r
59 On 2014-08-31 07:41:42, David Bremner wrote:\r
60 > Perttu Luukko <perttu.luukko@iki.fi> writes:\r
61 > > The vast majority of these ignored mails are not ignored after I\r
62 > > transfer them with offlineimap to another computer. I can non-ignore\r
63 > > these files probably by copying the renamed file back to the mail\r
64 > > server, so this is fixable. Offlineimap shouldn't mess with the file's\r
65 > > contents, so is there something that can cause notmuch to ignore a file\r
66 > > based on its name?\r
67\r
68 > The most likely cause is that the files are mboxes, whether intentional\r
69 > or not.  In particular if they start with a "From " (note the lack of :)\r
70 > and contain a second "From " at the beginning of a line later in the\r
71 > file. In this case something like sed can replace the initial \r
72 > "From " with "X-Envelope-From: ".\r
73\r
74 > I agree that the error message could be more informative in this case.\r
75 \r
76 No, the mails do contain "From: " with the appropriate colon. If I\r
77 understood correctly notmuch returns the same "not mail" return code\r
78 both when the essential headers are missing (so the file probably really\r
79 isn't mail) and when GMime fails to parse the message. I think it would\r
80 be a good idea to give a different warning in the latter case.\r
81 \r
82 If the files really are ignored because of GMime it also explains why so\r
83 much more files are ignored on my mail provider's server than on my\r
84 laptop. The server probably has an older version of GMime. I'll upgrade\r
85 and see if that makes a difference.\r
86 \r
87 -- \r
88 Perttu\r