From: mohsin kaleem <mohkale@kisara.moe>
To: notmuch@notmuchmail.org
Subject: [kisara.moe] notmuch doesn't respect MAILDIR env for database path
Date: Sat, 08 May 2021 21:49:39 +0100 [thread overview]
Message-ID: <87bl9lx864.fsf@kisara.moe> (raw)
notmuch doesn't seem to use the value of the $MAILDIR option when
assigning `database.path`.
On a new install from notmuch version 0.32 I ran `notmuch` to initialise
a config and then `notmuch new` which produces the output
```
Found 4 total files (that's not much mail).
Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/flintlock
Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/termlist.glass
Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/postlist.glass
Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/iamglass
Processed 4 total files in almost no time.
No new mail.
```
notmuch seems to default to using ~/.local/share/notmuch for the
`database.path` value instead of MAILDIR like the manual for
notmuch-config states.
S.N. My value of $MAILDIR is `~/docs/mail`. It exists in the maildir
format and has several mail files available already.
next reply other threads:[~2021-07-31 0:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 20:49 mohsin kaleem [this message]
2021-08-02 15:09 ` look in MAILDIR for database David Bremner
2021-08-02 15:09 ` [PATCH 1/8] test/path-config: define config_subtest David Bremner
2021-08-03 20:26 ` Tomi Ollila
2021-08-02 15:09 ` [PATCH 2/8] test/expect_equal_file: whitespace cleanup David Bremner
2021-08-02 15:09 ` [PATCH 3/8] test: factor out test_diff_file_ David Bremner
2021-08-02 15:09 ` [PATCH 4/8] test: add test_expect_equal_file_nonempty David Bremner
2021-08-02 15:09 ` [PATCH 5/8] test/path-config: use test_expect_equal_file_nonempty David Bremner
2021-08-02 15:09 ` [PATCH 6/8] test: add known broken tests for finding database via MAILDIR David Bremner
2021-08-02 15:09 ` [PATCH 7/8] lib/open: look in MAILDIR for database, as documented David Bremner
2021-08-02 15:09 ` [PATCH 8/8] doc: document database search algorithm David Bremner
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=87bl9lx864.fsf@kisara.moe \
--to=mohkale@kisara.moe \
--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).