--- /dev/null
+Return-Path:\r
+ <return-u67pwu3kqu6hnfzyisgadfg85i@temporary-address.scs.stanford.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id D4576431FBD\r
+ for <notmuch@notmuchmail.org>; Sun, 27 Apr 2014 12:45:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id baauO2Ph4K7P for <notmuch@notmuchmail.org>;\r
+ Sun, 27 Apr 2014 12:45:29 -0700 (PDT)\r
+Received: from market.scs.stanford.edu (market.scs.stanford.edu [171.66.3.10])\r
+ (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id EA74B431FBC\r
+ for <notmuch@notmuchmail.org>; Sun, 27 Apr 2014 12:45:28 -0700 (PDT)\r
+Received: from market.scs.stanford.edu (localhost.scs.stanford.edu\r
+ [127.0.0.1]) by market.scs.stanford.edu (8.14.7/8.14.7) with ESMTP id\r
+ s3RJjQDk013208; Sun, 27 Apr 2014 12:45:26 -0700 (PDT)\r
+Received: (from dm@localhost)\r
+ by market.scs.stanford.edu (8.14.7/8.14.7/Submit) id s3RJjQBJ030412;\r
+ Sun, 27 Apr 2014 12:45:26 -0700 (PDT)\r
+X-Authentication-Warning: market.scs.stanford.edu: dm set sender to\r
+ return-u67pwu3kqu6hnfzyisgadfg85i@ta.scs.stanford.edu using -f\r
+From: David Mazieres expires 2014-07-26 PDT\r
+ <mazieres-v75qnf7m8mq7fz7juwq3jcuarw@temporary-address.scs.stanford.edu>\r
+To: Sam Halliday <sam.halliday@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: github mirror\r
+In-Reply-To: <8761lulg8i.fsf@Samskara.home>\r
+References: <87bnvn111h.fsf@Samskara.home>\r
+ <87iopu4mr6.fsf@ta.scs.stanford.edu> <8761lulg8i.fsf@Samskara.home>\r
+Date: Sun, 27 Apr 2014 12:45:23 -0700\r
+Message-ID: <87d2g24kvg.fsf@ta.scs.stanford.edu>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Mailman-Approved-At: Wed, 30 Apr 2014 01:31:08 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 27 Apr 2014 19:45:33 -0000\r
+\r
+Sam Halliday <sam.halliday@gmail.com> writes:\r
+\r
+> David Mazieres <dm-list-email-notmuch@scs.stanford.edu> writes:\r
+>> The problem is that different imap servers store tags in different\r
+>> ways. Since notmuch does not use imap, it would be hard for notmuch to\r
+>> synchronize the tags, other than the standard ones (for which notmuch\r
+>> already has support).\r
+>>\r
+>> One thing you could do is build an external tool that synchronizes\r
+>> notmuch tags and spawns an imap server in preauth mode to sync the tags.\r
+>> (That would be yet another use for the ctime values we have discussed on\r
+>> this list.)\r
+>\r
+> The improvements to offlineimap to use the mail header hack might work\r
+> well for both of us. Currently the only way to add/remove "labels" (a\r
+> gmail concept) is to copy/move mail between folders. And this is how\r
+> notmuch "tags" are synced. But with outstanding pull request, this can\r
+> all be managed via email headers and that means you *only* need to\r
+> synchronise your "All Mail" folder.\r
+>\r
+> So, I'd be interested to see what your code could do in that world :-)\r
+\r
+My code assumes shell access to your mail server, so it doesn't do squat\r
+in the gmail world. I suppose you could use gmail just as your SMTP\r
+server, then download everything to your own server with offlineimap and\r
+manage it with notmuch there, in which case my code gives you the\r
+notmuch experience on all your devices. However, there's a much better\r
+SMTP server out than what google is running (www.mailavenger.org), so\r
+such a setups is backwards... The right thing to do is to receive\r
+everything on a mail server that you control, then push to gmail only\r
+what you want to read on your phone and/or disclose to the NSA (which in\r
+my case is only a tiny fraction of my email).\r
+\r
+David\r