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