Re: best practices for keeping a notmuch tag in sync with maildir folder

Subject: Re: best practices for keeping a notmuch tag in sync with maildir folder

Date: Mon, 05 Sep 2022 08:33:31 -0300

To: Bence Ferdinandy, notmuch@notmuchmail.org

Cc:

From: David Bremner


Bence Ferdinandy <bence@ferdinandy.com> writes:

> are there any best practices for keeping notmuch tags synced with an imap
> folder? It seems to me that simply moving a mail file in the shell from one
> folder to the other is not something that works well, at least with mbsync
> the moved file didn't appear in my webmail (I would like to keep a few tags
> mapped one-to-one with folders so I have a rudimentary access to some tags
> on my phone and webmail).

As far as I know (as a non-mbsync user) this is only a problem for
mbsync. Notmuch itself is fine with moving (or copying) files between
folders. You will have to run notmuch-new afterwards. If I remember
correctly mbsync encodes an IMAP UUID into the file name, but I don't
know the details. I guess that the general mbsync instructions for how
to move messages should work fine with notmuch.

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: