himalaya: fix notmuch backend

Previously, IMAP was preferred over notmuch, even if notmuch was
configured, causing problems with setting account flavor (which
automatically sets IMAP settings). The new backend order is:

    notmuch > IMAP > maildir

This also fixes the notmuch DB path being set to the wrong location.
The notmuch DB is located at the maildir base path, not in each
account's maildir.
This commit is contained in:
SiriusStarr 2023-07-03 11:30:11 -07:00 committed by Robert Helgesson
parent 98282a481d
commit 24805d3ca7
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 11 additions and 7 deletions

View file

@ -5,7 +5,7 @@ backend = "notmuch"
default = true
display-name = "H. M. Test"
email = "hm@example.com"
notmuch-db-path = "/home/hm-user/Maildir/hm@example.com"
notmuch-db-path = "/home/hm-user/Maildir"
sender = "sendmail"
sendmail-cmd = "msmtp"