--- /dev/null
+Return-Path: <sojkam1@fel.cvut.cz>\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 E2D3840DF1F\r
+ for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 15:26:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+ tests=[BAYES_00=-1.9] autolearn=ham\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 ByTQjXDUtIaW for <notmuch@notmuchmail.org>;\r
+ Sat, 20 Nov 2010 15:26:34 -0800 (PST)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+ by olra.theworths.org (Postfix) with ESMTP id 4AA8740DEEC\r
+ for <notmuch@notmuchmail.org>; Sat, 20 Nov 2010 15:26:34 -0800 (PST)\r
+Received: from localhost (unknown [192.168.200.4])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id A362819F3352;\r
+ Sun, 21 Nov 2010 00:26:33 +0100 (CET)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+ by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+ port 10044)\r
+ with ESMTP id ZQ4vWBgnCS4Z; Sun, 21 Nov 2010 00:26:32 +0100 (CET)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+ by max.feld.cvut.cz (Postfix) with ESMTP id 239C019F334B;\r
+ Sun, 21 Nov 2010 00:26:32 +0100 (CET)\r
+Received: from wsheee.2x.cz (unknown [213.29.198.144])\r
+ (Authenticated sender: sojkam1)\r
+ by imap.feld.cvut.cz (Postfix) with ESMTPSA id 1F92AFA004;\r
+ Sun, 21 Nov 2010 00:26:32 +0100 (CET)\r
+Received: from wsh by wsheee.2x.cz with local (Exim 4.72)\r
+ (envelope-from <sojkam1@fel.cvut.cz>)\r
+ id 1PJwpD-0000NT-Ie; Sun, 21 Nov 2010 00:26:31 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: meskio@sindominio.net, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] Including 'unread' tag to mails without maildir flags\r
+In-Reply-To: <1290181264-5900-1-git-send-email-meskio@sindominio.net>\r
+References: <20101118153744.GE3049@blackspot>\r
+ <1290181264-5900-1-git-send-email-meskio@sindominio.net>\r
+User-Agent: Notmuch/0.5-11-g48b5e00 (http://notmuchmail.org) Emacs/23.2.1\r
+ (i486-pc-linux-gnu)\r
+Date: Sun, 21 Nov 2010 00:26:31 +0100\r
+Message-ID: <87pqtzk254.fsf@wsheee.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Sat, 20 Nov 2010 23:26:45 -0000\r
+\r
+On Fri, 19 Nov 2010, meskio@sindominio.net wrote:\r
+> Some mail fetchers, like fetchmail, leaves the email without ':2,' at the end of\r
+> the filename. Notmuch didn't detect this emails as maildir, it didn't add the\r
+> maildir flags to them.\r
+> \r
+> Now it detects if a mail is in a maildir by the directory structure, and add its\r
+> maildir flags correctly.\r
+\r
+Hi Ruben,\r
+\r
+your patch fixes the problem, but it also breaks one of the tests in\r
+test suite. I created the test for your patch and attempted to fix the\r
+broken test. See the replies to this message.\r
+\r
+-Michal\r