Re: [notmuch] Introducing notmuchsync
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 18 Jan 2010 15:24:03 +0000 (16:24 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:00 +0000 (09:36 -0800)
3e/34d9f37e72a19e31475757abff006eb0d7a298 [new file with mode: 0644]

diff --git a/3e/34d9f37e72a19e31475757abff006eb0d7a298 b/3e/34d9f37e72a19e31475757abff006eb0d7a298
new file mode 100644 (file)
index 0000000..157eb1f
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 9641A431FBD\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 07:24:08 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.866\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.866 tagged_above=-999 required=5\r
+       tests=[AWL=-0.867, BAYES_50=0.001] autolearn=ham\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 OgXikT2yY-Gd for <notmuch@notmuchmail.org>;\r
+       Mon, 18 Jan 2010 07:24:08 -0800 (PST)\r
+X-Greylist: delayed 694 seconds by postgrey-1.32 at olra;\r
+       Mon, 18 Jan 2010 07:24:07 PST\r
+Received: from homiemail-a11.g.dreamhost.com (mailbigip.dreamhost.com\r
+       [208.97.132.5])\r
+       by olra.theworths.org (Postfix) with ESMTP id EE271431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 18 Jan 2010 07:24:07 -0800 (PST)\r
+Received: from sspaeth.de (mtec-hg-docking-2-dhcp-062.ethz.ch [82.130.121.62])\r
+       by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id\r
+       07F6F19406D; Mon, 18 Jan 2010 07:24:05 -0800 (PST)\r
+Received: by sspaeth.de (sSMTP sendmail emulation);\r
+       Mon, 18 Jan 2010 16:24:03 +0100\r
+From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
+To: notmuch@notmuchmail.org\r
+In-Reply-To: <87pr57jvkz.fsf@SSpaeth.de>\r
+References: <87pr57jvkz.fsf@SSpaeth.de>\r
+Date: Mon, 18 Jan 2010 16:24:03 +0100\r
+Message-ID: <87iqazwi5o.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] Introducing notmuchsync\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: Mon, 18 Jan 2010 15:24:08 -0000\r
+\r
+On Mon, 18 Jan 2010 16:12:28 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:\r
+DOH, I should actually have finished the Workflow section before sending\r
+it off :-):\r
+\r
+Workflow\r
+========\r
+1a) start out with notmuchsync -r in order to initialize the notmuch tag\r
+database based on maildir 'S' flags. This is probably what everyone but\r
+Carl Worth wants. :-) If the "--all" command works for you, even better,\r
+but I doubt it as it would store all your mails in RAM. I'll need to\r
+work on some chunking for this.\r
+1b) start out with nnotmuchsync -s if your notmuch tags are\r
+authoritative and it will modify your Maildir flags accordingly.\r
+\r
+After that a periodic:\r
+2) "notmuchsync -s" syncs tags to flags (Currently 'S' only)\r
+3) "notmuchsync -p" purges mail files with "delete" flags\r