Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help] Notmuch setup instruction wanted. #533

Open
JackTheMico opened this issue Dec 21, 2024 · 2 comments
Open

[help] Notmuch setup instruction wanted. #533

JackTheMico opened this issue Dec 21, 2024 · 2 comments

Comments

@JackTheMico
Copy link

JackTheMico commented Dec 21, 2024

Hi @soywod, thank you for creating this project. I'm having trouble using notmuch as the backend and couldn't find the related documentation so I opened the issue.

My problem is that notmuch can get 721 emails after the command: notmuch search tag:inbox | lines | length, but Himalaya always gets 0.

Here's a screenshot to show it:
image

And here are my Himalaya configurations:

[accounts.jackwenyoung]
default = true
email = "dlwxxxdlw@gmail.com"
display-name = "Jack Wenyoung"
downloads-dir = "/home/jackwenyoung/Downloads/himajack"
backend.type = "notmuch"
backend.db-path = "/home/jackwenyoung/.notmuch/default"
folder.aliases.inbox = "inbox"

Am I missing something? How should I configure it to make it work?

@soywod
Copy link
Member

soywod commented Dec 24, 2024

Hello @JackTheMico, and welcome on board!

My guess is that there is a mismatch between the Maildir structure and what is expected by the Notmuch backend. I would be glad to help you, but I will drop the Notmuch support for the next release due incompatible licences 😞, see pimalaya/core#31. I would advise instead to configure the Maildir backend. This implies 2 things:

  • The query system is less performent, because it uses an internal implementation rather than the powerful Notmuch one
  • Everytime you interact with you Maildir folder you will need to manually sync your Notmuch database

@JackTheMico
Copy link
Author

Thank you. Can you share more information about setting up Maildir with two Gmail accounts?
I have tried Neomutt+notmuch+lieer in the past few days and it didn't work out for me.
So Himalaya is looking promising to me 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants