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 4C109431FBC for ; Mon, 23 Nov 2009 06:43:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 wa5MNIcMfvep for ; Mon, 23 Nov 2009 06:43:43 -0800 (PST) Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by olra.theworths.org (Postfix) with ESMTP id B48A7431FAE for ; Mon, 23 Nov 2009 06:43:42 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id F103D78A3171; Mon, 23 Nov 2009 15:43:41 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14355-04; Mon, 23 Nov 2009 15:43:41 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.tsdh.de (unknown [141.26.95.131]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 59CD078A3170; Mon, 23 Nov 2009 15:43:41 +0100 (CET) From: Tassilo Horn To: Mikhail Gusarov References: <87ws1hldmu.fsf@thinkpad.tsdh.de> <87einpl50j.fsf@thinkpad.tsdh.de> <87ljhxjq5i.fsf@vertex.dottedmag> Mail-Copies-To: never Date: Mon, 23 Nov 2009 15:43:41 +0100 In-Reply-To: <87ljhxjq5i.fsf@vertex.dottedmag> (Mikhail Gusarov's message of "Mon, 23 Nov 2009 20:02:01 +0600") Message-ID: <876391l2si.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 23 Nov 2009 14:43:46 -0000 Mikhail Gusarov writes: Hi Mikhail, > TH> Whenever I delete those symlinks and created them anew, the new > TH> mails get indexed with the next "notmuch new". Of course, I could > TH> create a script that does exactly that, but there should be a > TH> better way, right? > > Probably mail does not get indexed due to mtime checks. Please try > whether touch'ing directory with mailboxes makes it work. No, it seems that doesn't help either. First, I only touched the two symlinks. This didn't help. Then I used "find . -type d | xargs touch" to touch all directories inside the directories the symlinks point to. But still no luck. Finally, I deleted the symlinks and created them anew, and then it indexed the 12 new mails that arrived in the meantime. Bye, Tassilo