[notmuch] Potential problem using Git for mail (was: Idea for storing tags)
authormartin f krafft <madduck@madduck.net>
Tue, 12 Jan 2010 04:51:53 +0000 (17:51 +1300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:58 +0000 (09:35 -0800)
7c/772661f37a58d34f8a76dcd414497ab43d7f4f [new file with mode: 0644]

diff --git a/7c/772661f37a58d34f8a76dcd414497ab43d7f4f b/7c/772661f37a58d34f8a76dcd414497ab43d7f4f
new file mode 100644 (file)
index 0000000..6d5665d
--- /dev/null
@@ -0,0 +1,109 @@
+Return-Path: <madduck@lapse.rw.madduck.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 4CCDE431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 20:52:01 -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 6JwMNJxmbCNT for <notmuch@notmuchmail.org>;\r
+       Mon, 11 Jan 2010 20:52:00 -0800 (PST)\r
+Received: from clegg.madduck.net (clegg.madduck.net [193.242.105.96])\r
+       by olra.theworths.org (Postfix) with ESMTP id 987C8431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 11 Jan 2010 20:52:00 -0800 (PST)\r
+Received: from lapse.rw.madduck.net (unknown\r
+       [IPv6:2404:130:0:1000:20a:e4ff:fe30:4316])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (Client CN "lapse.rw.madduck.net",\r
+       Issuer "CAcert Class 3 Root" (verified OK))\r
+       by clegg.madduck.net (postfix) with ESMTPS id 5D6621D4097\r
+       for <notmuch@notmuchmail.org>; Tue, 12 Jan 2010 05:51:56 +0100 (CET)\r
+Received: by lapse.rw.madduck.net (Postfix, from userid 1000)\r
+       id 0F737F56; Tue, 12 Jan 2010 17:51:53 +1300 (NZDT)\r
+Date: Tue, 12 Jan 2010 17:51:53 +1300\r
+From: martin f krafft <madduck@madduck.net>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Message-ID: <20100112045152.GA15275@lapse.rw.madduck.net>\r
+Mail-Followup-To: notmuch <notmuch@notmuchmail.org>\r
+References: <20100111221909.GA30299@lapse.rw.madduck.net>\r
+       <1263267603-sup-302@elise>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-ripemd160;\r
+       protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N"\r
+Content-Disposition: inline\r
+In-Reply-To: <1263267603-sup-302@elise>\r
+X-Motto: Keep the good times rollin'\r
+X-OS: Debian GNU/Linux squeeze/sid kernel 2.6.32-trunk-686 i686\r
+X-Spamtrap: madduck.bogus@madduck.net\r
+X-Subliminal-Message: debian/rules!\r
+User-Agent: Mutt/1.5.20 (2009-06-14)\r
+X-Virus-Scanned: clamav-milter 0.95.3 at clegg\r
+X-Virus-Status: Clean\r
+Subject: [notmuch] Potential problem using Git for mail (was: Idea for\r
+ storing tags)\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: Tue, 12 Jan 2010 04:52:01 -0000\r
+\r
+\r
+--fUYQa+Pmc3FrFX/N\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+also sprach Scott Robinson <scott@quadhome.com> [2010.01.12.1644 +1300]:\r
+> Then the whole structure is controlled via git.\r
+> Conflict-resolution and sync comes for free.\r
+\r
+I've just had a good think about this, also because the idea of\r
+abandoning IMAP and using Git has been around for a while and\r
+I have not really wrapped my head around it.\r
+\r
+If the MDA delivers to Git, then potentially, you might get into\r
+a situation where you cannot write your own changes back to the\r
+repo. This is also a DoS scenario: I'll just keep sending you\r
+e-mail, and if I manage to pass your mail filters, I'll basically\r
+commit to your mail repository at regular intervals. Say those are\r
+5 seconds. In order for you to write updates to the repo, e.g. to\r
+update tags, then you would need to pull, rebase, and push all\r
+within 5 seconds, for otherwise you'd try to push non-fast-forwards.\r
+\r
+This a bit unrealistic, surely, but there's a real annoyance in it:\r
+you'd have to pull/rebase/push until a push succeeds =E2=80=94 until you\r
+found a time window between pull and push during which the MDA\r
+didn't write to the repo. This might take a long time. If this\r
+happens in the background by Cron, it's not a real concern, but if\r
+this becomes a UI issue, I wouldn't know how to handle it.\r
+\r
+--=20\r
+martin | http://madduck.net/ | http://two.sentenc.es/\r
+=20\r
+don't hate yourself in the morning -- sleep till noon.\r
+=20\r
+spamtraps: madduck.bogus@madduck.net\r
+\r
+--fUYQa+Pmc3FrFX/N\r
+Content-Type: application/pgp-signature; name="digital_signature_gpg.asc"\r
+Content-Description: Digital signature (see http://martin-krafft.net/gpg/)\r
+Content-Disposition: inline\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEAREDAAYFAktL/+gACgkQIgvIgzMMSnVLFQCfQBH5CfUZy7YGWJvW0aeiMx/F\r
+WNwAn0E5t30m7RZqbbcS7lmZrwpy5hQQ\r
+=coAx\r
+-----END PGP SIGNATURE-----\r
+\r
+--fUYQa+Pmc3FrFX/N--\r