--- /dev/null
+Return-Path: <error4me@gmx.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 EEBB9431FBD\r
+ for <notmuch@notmuchmail.org>; Sun, 26 Jan 2014 05:19:31 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+ tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]\r
+ 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 9o35Ssh4TiH0 for <notmuch@notmuchmail.org>;\r
+ Sun, 26 Jan 2014 05:19:24 -0800 (PST)\r
+Received: from mout.gmx.net (mout.gmx.net [212.227.15.19])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 3220A431FBC\r
+ for <notmuch@notmuchmail.org>; Sun, 26 Jan 2014 05:19:24 -0800 (PST)\r
+Received: from boo.workgroup ([87.187.157.204]) by mail.gmx.com (mrgmx103)\r
+ with ESMTPSA (Nemesis) id 0Lx8ZJ-1VEOBv2LFJ-016bpH for\r
+ <notmuch@notmuchmail.org>; Sun, 26 Jan 2014 14:19:22 +0100\r
+Received: from grfz by boo.workgroup with local (Exim 4.82)\r
+ (envelope-from <error4me@gmx.de>)\r
+ id 1W7PcK-0008Sz-JF; Sun, 26 Jan 2014 14:19:16 +0100\r
+Date: Sun, 26 Jan 2014 14:18:46 +0100\r
+From: Gregor Zattler <telegraph@gmx.net>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: Bug: notmuch new chokes on dangling symlinks and quits\r
+Message-ID: <20140126131846.GA10844@boo.workgroup>\r
+Mail-Followup-To: notmuch <notmuch@notmuchmail.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+Sender: error4me@gmx.de\r
+X-Provags-ID: V03:K0:2uCsZxxxJoAkcNEkUxQDNHY5Fq0dKBvKwdceilIcYcqJeCyk5ie\r
+ TEjfPO7G6O547B1Nhv7d1MrrU89KahJzeZbCgO3OKqm0qc2giOkSfJd89YTd8jr25r38b78\r
+ ry7RUhx/kTDhU5+kRqQnxkzPgX37lCwvhHlm0Zw3SqJ40y9Pn7SfOg0XDB59v7SLFa+Sxsi\r
+ 1JQTj4x015py0e08Z/LTA==\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: Sun, 26 Jan 2014 13:19:32 -0000\r
+\r
+Dear notmuch developers,\r
+\r
+notmuch new quits operation if it hit's a dangling symlink:\r
+\r
+\r
+Error reading file /home/grfz/notmuch2/Mail/findex/cur/123456789.684055.mairix:2,: No such file or directory\r
+Note: A fatal error was encountered: Something went wrong trying\r
+to read or write a file Processed 85 total files in 1s (47\r
+files/sec.)\r
+\r
+\r
+I consider this to be a bug. Instead notmuch should simply\r
+ignore the symlink.\r
+\r
+This is especially problematic while indexing a huge amount of\r
+mail the first time and notmuch hits the dangling symlink at an\r
+early stage of indexing.\r
+\r
+\r
+Ciao, Gregor\r
+-- \r
+ -... --- .-. . -.. ..--.. ...-.-\r