unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Mazieres <dm-list-email-notmuch@scs.stanford.edu>
To: "Dan Čermák" <dan.cermak@posteo.net>, notmuch@notmuchmail.org
Subject: Re: How do you synchronize your notmuch tags across multiple machines?
Date: Wed, 09 Jan 2019 00:29:02 -0800	[thread overview]
Message-ID: <87tvii6xpt.fsf@ta.scs.stanford.edu> (raw)
In-Reply-To: <87sgy24sfb.fsf@cgc-instruments.com>

Dan Čermák <dan.cermak@posteo.net> writes:

>> The ideal solution would be to implement an imap server on top of
>> libnotmuch.  If we had that, then you could just use offlineimap and
>> isync through the imap (as opposed to file system) interface, and
>> everything will just work.
>
> Stupid question: how would the tags be synced with your local machines
> in this case? Via muchsync or would one keep the tags on the
> notmuch-imap server?

However you want.  If you run a local imap server and a remote imap
server, then you can just sync between the two imap servers with any
imap synching tool.  But if the two hosts happen to be running imap
servers implemented on top of libnotmuch, then you could use muchsync
which would be faster.

> How about a hacky and not ideal solution: "teach" notmuch to not only
> synchronize the read and deleted tags with the maildir, but all tags?

Unfortunately, there's no standard for how to encode these.  Also,
there's a pretty fundamental design decision in notmuch that it doesn't
edit the mail messages.  Now some imap servers, like dovecot, define
other flags on a per-maildir basis, but it only works up to a certain
number of flags, and you'd have to parse an extra file that tells you
what the mappings are.

David

  reply	other threads:[~2019-01-09  8:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 22:57 How do you synchronize your notmuch tags across multiple machines? Dan Čermák
2018-12-18  0:55 ` Ralph Seichter
2018-12-18  8:18   ` Tom Hirschowitz
2019-01-03 22:27     ` Dan Čermák
2019-01-03 22:48       ` Brian Sniffen
2019-01-04 13:43         ` Dan Čermák
2019-01-06  4:20           ` David Mazieres
2019-01-08 23:54             ` Dan Čermák
2019-01-09  8:29               ` David Mazieres [this message]
2019-01-09 13:40                 ` Jeff Templon
2019-01-09 16:50                   ` David Mazieres
2019-03-09  9:21             ` Dan Čermák
2019-01-12 22:45         ` jpellegrini
2019-01-14 23:00           ` Dan Čermák
2019-01-19  4:02             ` jpellegrini
2019-01-19  4:08               ` Jeronimo Pellegrini
2019-01-13 18:12 ` Ioan-Adrian Ratiu

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=87tvii6xpt.fsf@ta.scs.stanford.edu \
    --to=dm-list-email-notmuch@scs.stanford.edu \
    --cc=dan.cermak@posteo.net \
    --cc=mazieres-228pybtsy8xg9tbtwegs2zvxea@temporary-address.scs.stanford.edu \
    --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).