unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Bence Ferdinandy <bence@ferdinandy.com>, notmuch@notmuchmail.org
Subject: Re: best practices for keeping a notmuch tag in sync with maildir folder
Date: Mon, 05 Sep 2022 08:33:31 -0300	[thread overview]
Message-ID: <87h71m5a44.fsf@tethera.net> (raw)
In-Reply-To: <CAOgof0fQNjn=+FSKqS4riZE_aM3hk2hhNaAqLqU2=jdgWBxfAQ@mail.gmail.com>

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.

  reply	other threads:[~2022-09-05 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-13 20:54 best practices for keeping a notmuch tag in sync with maildir folder Bence Ferdinandy
2022-09-05 11:33 ` David Bremner [this message]
2022-09-05 11:44   ` Michael J Gruber

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=87h71m5a44.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=bence@ferdinandy.com \
    --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).