Re: Hi all
[notmuch-archives.git] / e4 / 392458f0e6a66e0b44285736ce539d408e92c3
1 Return-Path: <david@tethera.net>\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 1BC1E431FBD\r
6         for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 07:42:01 -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 jiPaUOrH+Cpr for <notmuch@notmuchmail.org>;\r
16         Sun, 31 Aug 2014 07:41:53 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 3E429431FAE\r
21         for <notmuch@notmuchmail.org>; Sun, 31 Aug 2014 07:41:53 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1XO6KB-000145-Gj; Sun, 31 Aug 2014 11:41:47 -0300\r
25 Received: (nullmailer pid 23702 invoked by uid 1000); Sun, 31 Aug 2014\r
26         14:41:42 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Perttu Luukko <perttu.luukko@iki.fi>, notmuch@notmuchmail.org\r
29 Subject: Re: How to debug 'ignoring non-mail file' issues\r
30 In-Reply-To: <20140831074059.GA13399@rakuuna.dhcp.inet.fi>\r
31 References: <20140831074059.GA13399@rakuuna.dhcp.inet.fi>\r
32 User-Agent: Notmuch/0.18.1+72~g028c560 (http://notmuchmail.org) Emacs/24.3.1\r
33         (x86_64-pc-linux-gnu)\r
34 Date: Sun, 31 Aug 2014 07:41:42 -0700\r
35 Message-ID: <87tx4ssoux.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\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: Sun, 31 Aug 2014 14:42:01 -0000\r
51 \r
52 Perttu Luukko <perttu.luukko@iki.fi> writes:\r
53 \r
54 \r
55 > The vast majority of these ignored mails are not ignored after I\r
56 > transfer them with offlineimap to another computer. I can non-ignore\r
57 > these files probably by copying the renamed file back to the mail\r
58 > server, so this is fixable. Offlineimap shouldn't mess with the file's\r
59 > contents, so is there something that can cause notmuch to ignore a file\r
60 > based on its name?\r
61 \r
62 The most likely cause is that the files are mboxes, whether intentional\r
63 or not.  In particular if they start with a "From " (note the lack of :)\r
64 and contain a second "From " at the beginning of a line later in the\r
65 file. In this case something like sed can replace the initial \r
66 "From " with "X-Envelope-From: ".\r
67 \r
68 I agree that the error message could be more informative in this case.\r
69 \r
70 d\r