unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [kisara.moe] notmuch doesn't respect MAILDIR env for database path
@ 2021-05-08 20:49 mohsin kaleem
  2021-08-02 15:09 ` look in MAILDIR for database David Bremner
  0 siblings, 1 reply; 11+ messages in thread
From: mohsin kaleem @ 2021-05-08 20:49 UTC (permalink / raw)
  To: notmuch


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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-03 20:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 20:49 [kisara.moe] notmuch doesn't respect MAILDIR env for database path mohsin kaleem
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

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).