From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6B934431FBC for ; Tue, 9 Feb 2010 07:38:15 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[AWL=-0.001, 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 jYJwqFdNGpJw for ; Tue, 9 Feb 2010 07:38:14 -0800 (PST) Received: from mail-yw0-f200.google.com (mail-yw0-f200.google.com [209.85.211.200]) by olra.theworths.org (Postfix) with ESMTP id BF027431FAE for ; Tue, 9 Feb 2010 07:38:14 -0800 (PST) Received: by ywh38 with SMTP id 38so1885928ywh.6 for ; Tue, 09 Feb 2010 07:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=SuRZKtkoryVkzT5Zzrgib0Vt80tvtjqWytA4Vq5tcqM=; b=aZtwx2Fd0OrmNt/nY5RYrtLlALcfW1DkD0PI+DauAb+i4I5wp3eREX7iKjq/hUmXLO mzWKzBuOVFLRBr+oipvNuy8I6pxQL4ZS/Mer3Vus025XaNQnL2RZQUJ4nqvEVF3RmXpV jpi0swc6U9lS2i3VVTyhYZ8HMiJCc6B/zJMzs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vIGcQ95J4VxumIqJqqC3Ft2Hiw2oRtre21coXL3lGXXQ0UaXYvVRQ3NIYr8VzGSlEl 5Wrb424lVinVZYukq3nLrBRX+QiekX96mQJZJBCtnUVE/TxSe3R5nsoqf+BJUgUZ5i4K MrqXHjpbKG2AYUR5fRYLlkQov00WGG5G+3P8M= MIME-Version: 1.0 Received: by 10.101.184.33 with SMTP id l33mr10604402anp.100.1265729884428; Tue, 09 Feb 2010 07:38:04 -0800 (PST) Date: Tue, 9 Feb 2010 10:38:04 -0500 Message-ID: <46263c601002090738k6a8f0e92v807b535918cbc7a5@mail.gmail.com> From: Brett Viren To: notmuch@notmuchmail.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problems with Maildir and files moving from new/ to cur/ 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: Tue, 09 Feb 2010 15:38:15 -0000 Hi, I use procmail to prefilter mail into various sub groups of a Maildir. This Maildir is served by dovecot IMAP and is also visible to notmuch. I run "notmuch new" followed by "notmuch tag -inbox -unread tag:inbox" (I use GNUS to do my reading and don't want these tags in the way the few times I run notmuch for reading) every 10 minutes from cron. I often will check my email before the cron job gets a chance to run and vice versa. The problem I have is that this race condition means that sometimes notmuch will index a message as being under the Maildir/./new/ subdirectory, I then read it and it is moved to Maildir/./cur/ (I think that is what is happening). Then when I do a search, notmuch returns a file that is no longer around. This may not be an issue with notmuch, per se, but does anyone have any suggestions to make this work more smoothly? Thanks, -Brett.