unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Perttu Luukko <perttu.luukko@iki.fi>
To: notmuch@notmuchmail.org
Subject: 'notmuch new' trying to read non-existing files
Date: Mon, 25 Aug 2014 21:41:56 +0300	[thread overview]
Message-ID: <20140825184156.GA6905@rakuuna.dhcp.inet.fi> (raw)

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

             reply	other threads:[~2014-08-25 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 18:41 Perttu Luukko [this message]
2014-08-26 20:01 ` 'notmuch new' trying to read non-existing files David Bremner
2014-08-27  4:29   ` Perttu Luukko
2014-08-28  7:01     ` Andrei POPESCU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140825184156.GA6905@rakuuna.dhcp.inet.fi \
    --to=perttu.luukko@iki.fi \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).