From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 19ADD431FAF for ; Mon, 25 Aug 2014 12:42:42 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0NKf76AezQOa for ; Mon, 25 Aug 2014 12:42:38 -0700 (PDT) X-Greylist: delayed 3627 seconds by postgrey-1.32 at olra; Mon, 25 Aug 2014 12:42:38 PDT Received: from mail.kapsi.fi (mail.kapsi.fi [217.30.184.167]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2E56E431FAE for ; Mon, 25 Aug 2014 12:42:38 -0700 (PDT) Received: from dsl-jklbrasgw1-54fb12-136.dhcp.inet.fi ([84.251.18.136] helo=localhost) by mail.kapsi.fi with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XLzDL-0002TJ-0d for notmuch@notmuchmail.org; Mon, 25 Aug 2014 21:41:59 +0300 Date: Mon, 25 Aug 2014 21:41:56 +0300 From: Perttu Luukko To: notmuch@notmuchmail.org Subject: 'notmuch new' trying to read non-existing files Message-ID: <20140825184156.GA6905@rakuuna.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 84.251.18.136 X-SA-Exim-Mail-From: perttu.luukko@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-Mailman-Approved-At: Tue, 26 Aug 2014 00:49:17 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 19:42:42 -0000 Hi, I decided to give notmuch a spin and installed version 0.18.1 on my mail provider's shell server. The layout offered by my mail provider's Dovecot is such that INBOX is stored in Maildir format at ~/Maildir and other folders are stored as subfolders of ~/Maildir, filename of each directory beginning with a period. In addition, ~/Maildir contains files 'dovecot-uidlist' and dovecot-uidvalidity', and each subdirectory contains an empty file 'maildirfolder' in addition to the usual cur, new and tmp. I don't know if this is an unusual layout or not. When I run 'notmuch new' I get: Found 9903 total files (that's not much mail). Error reading file /home/users/(username)/Maildir/.act/.act: No such file or directory Processed 1 file in almost no time. Added 1 new message to the database. Note: A fatal error was encountered: Something went wrong trying to read or write a file The subdirectory .act is really the first (alphabetically) subdirectory of ~/Maildir, but .act/.act does not exist and I don't know why notmuch tries to read it. In a following run the .act subdirectory gets replaced by .Drafts, but the error is the same. So for some reason 'notmuch new' tries to read for each subdirectory a deeper subdirectory which does not exist. Only emails in the top-level INBOX folder are added to the database. The same collection of email offlineimap'd to my local computer and with a more plain layout (each folder as a subdirectory of ~/mail, no dots) is read without problems. What could be going wrong here? Is this a layout that should be indexed by notmuch? Please note that I'm not subscribed to this mailing list -- I'm not using notmuch yet so I can't handle the volume :) -- Perttu Luukko