Re: [notmuch] notmuch and imap [musing, no code :)]
authorAlec Berryman <alec@thened.net>
Wed, 16 Dec 2009 00:54:11 +0000 (19:54 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:53 +0000 (09:35 -0800)
bf/0fcaad542b1f84815c5b00fd3b5ddd475382d8 [new file with mode: 0644]

diff --git a/bf/0fcaad542b1f84815c5b00fd3b5ddd475382d8 b/bf/0fcaad542b1f84815c5b00fd3b5ddd475382d8
new file mode 100644 (file)
index 0000000..7aec12f
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <alec@thened.net>\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 5495B431FC0\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Dec 2009 16:54:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 xCEnf9icxFDQ for <notmuch@notmuchmail.org>;\r
+       Tue, 15 Dec 2009 16:54:29 -0800 (PST)\r
+Received: from ives.vdov.net (129.210.68.208.static.dnsptr.net\r
+       [208.68.210.129])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4AF9B431FBF\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Dec 2009 16:54:29 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by ives.vdov.net (Postfix) with ESMTP id DDF1635A526;\r
+       Tue, 15 Dec 2009 18:54:31 -0600 (CST)\r
+Received: from ives.vdov.net ([127.0.0.1])\r
+       by localhost (ives.vdov.net [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id b7-4j9uRTrys; Tue, 15 Dec 2009 18:54:26 -0600 (CST)\r
+Received: from localhost (pool-71-174-184-207.bstnma.east.verizon.net\r
+       [71.174.184.207])\r
+       by ives.vdov.net (Postfix) with ESMTPSA id F309A24EECF;\r
+       Tue, 15 Dec 2009 18:54:15 -0600 (CST)\r
+Date: Tue, 15 Dec 2009 19:54:11 -0500\r
+From: Alec Berryman <alec@thened.net>\r
+To: David Bremner <david@tethera.net>\r
+Message-ID: <20091216005411.GA28199@thened.net>\r
+References: <87pr6gcuiu.fsf@pivot.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <87pr6gcuiu.fsf@pivot.cs.unb.ca>\r
+User-Agent: Mutt/1.5.20 (2009-06-14)\r
+X-Hashcash: 1:24:091216:david@tethera.net::KLGK6Pe9CzMnj7q8:00000000000000000000000000000000000000000000IdN2\r
+X-Hashcash: 1:24:091216:notmuch@notmuchmail.org::ia5GTSPah7HU86jI:00000000000000000000000000000000000002BltX\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] notmuch and imap [musing, no code :)]\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Wed, 16 Dec 2009 00:54:30 -0000\r
+\r
+David Bremner on 2009-12-15 08:05:13 -0400:\r
+\r
+> Recent discussions on IRC (I forget with whom, sorry), brought me back\r
+> to thinking about syncing notmuch with imap.  In addition to the flags\r
+> \Seen, \Answered, \Draft, \Deleted, and \Flagged, imap servers can\r
+> optionally support user defined keywords (i.e. tags). At least courier\r
+> and dovecot do.  These keywords are imap "atoms", which, without tracing\r
+> though the BNF [1] completely look like they can can have (ascii)\r
+> alphanumeric, and punctuation other than brackets, quotes and "%", "*".\r
+\r
+I am also very interested in syncing tags between computers.  I started\r
+implementing storage of tags in message headers.  It's has been done\r
+before - several mutt extensions and systems use X-Label.  This approach\r
+offers several advantages to notmuch dump/restore and IMAP flags:\r
+\r
+  - compatability: most mail clients can search on headers, so even if\r
+    you're not using notmuch full-time (squirrelmail? phone?), you can\r
+    get some benefit from it\r
+\r
+  - works with offlineimap without further effort: no new transport\r
+    mechanism required\r
+\r
+  - a migration path: text-based mail sorting tools like procmail can\r
+    easily set headers\r
+\r
+  - backups are easy: you can't miss backing up your tags because\r
+    they're in the messages\r
+\r
+There are security concerns (need to strip incoming messages of tags so\r
+no one tags your mail for you), privacy concerns (if you forward the\r
+entire message as an attachment, may want to strip tags), and space\r
+concerns (how many flags?), but I think they can be worked around.\r
+\r
+I haven't gotten very far with my implementation due to time\r
+constraints.  It reads tags fine, but I haven't implemented writing,\r
+which is the involved part.  I hope to get to this between Christmas and\r
+New Years, but who knows.\r
+\r