unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: dm-list-email-notmuch@scs.stanford.edu
To: Tim Stoakes <notmuch@stoakes.net>
Cc: notmuch@notmuchmail.org
Subject: Re: Tag timestamps and synchronization
Date: Mon, 24 Jan 2011 17:35:36 -0800	[thread overview]
Message-ID: <x74o8xojdj.wl@ta.scs.stanford.edu> (raw)
In-Reply-To: <20110124233812.GB23628@mail.stoakes.net>

At Tue, 25 Jan 2011 10:08:12 +1030,
Tim Stoakes wrote:
> 
> I do something like this by using some shell scripts with formail, to
> 'store' notmuch tags into the X-Label headers of the individual mails.
> Offlineimap then syncs these headers. If I need the tags to become
> notmuch-ified on the target, I just scan all the mail's X-Label headers.

How well does offlineimap work when you modify the contents of
messages?  This doesn't change the message UIDs, does it?  Are you
syncing between two imapd instances, or one imapd and a maildir?  (I
currently run a local imap server as well, because it seems to be a
lot faster.)

How does the imap server even detect that the message contents has
been modified?  Does it have to stat 300,000 files every time you
check your email?

In my setup, I regularly check email from three or four different
machines, so the syncing is not just for backup purposes.  When I
switch between computers all my label changes need to be visible.

> I'm happy to share this hack glue if it would help.

Yes, I'd be glad to take a look at your scripts.

Thanks,
David

  reply	other threads:[~2011-01-25  1:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 19:10 Tag timestamps and synchronization dm-list-email-notmuch
2011-01-24 23:38 ` Tim Stoakes
2011-01-25  1:35   ` dm-list-email-notmuch [this message]
2011-01-25 10:00 ` Michal Sojka

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=x74o8xojdj.wl@ta.scs.stanford.edu \
    --to=dm-list-email-notmuch@scs.stanford.edu \
    --cc=mazieres-dk52ay6556wfznqabtbkpvzdq6@temporary-address.scs.stanford.edu \
    --cc=notmuch@notmuchmail.org \
    --cc=notmuch@stoakes.net \
    /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).