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 705DE431FBC for ; Mon, 23 Nov 2009 05:55: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 OG3kc55OzGwy for ; Mon, 23 Nov 2009 05:55:45 -0800 (PST) Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by olra.theworths.org (Postfix) with ESMTP id B2E45431FAE for ; Mon, 23 Nov 2009 05:55:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 931D2789B93D for ; Mon, 23 Nov 2009 14:55:44 +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 02463-02 for ; Mon, 23 Nov 2009 14:55:44 +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 380C27899111 for ; Mon, 23 Nov 2009 14:55:41 +0100 (CET) From: Tassilo Horn To: notmuch@notmuchmail.org References: <87ws1hldmu.fsf@thinkpad.tsdh.de> Mail-Copies-To: never Date: Mon, 23 Nov 2009 14:55:40 +0100 In-Reply-To: <87ws1hldmu.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 23 Nov 2009 11:49:29 +0100") Message-ID: <87einpl50j.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 Subject: [notmuch] Notmuch doesn't index new mails when mail location contains symlinks (was: Notmuch doesn't index new mails) 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 13:55:46 -0000 Tassilo Horn writes: Hi all, I've investigated a bit further. > [notmuch doesn't index new mails although all directories and files > are readable and writable.] In my config, I have: --8<---------------cut here---------------start------------->8--- [database] path=/home/horn/Mail/Dovecot --8<---------------cut here---------------end--------------->8--- In that directory, there are two symlinks pointing to the real mail location in /var/spool/mail: --8<---------------cut here---------------start------------->8--- [horn@localhost][~/Mail/Dovecot][0][5213] [:)] % ll total 0 lrwxrwxrwx 1 horn horn 34 Nov 23 14:49 fastmail -> /var/spool/mail/fastmail/mailboxes lrwxrwxrwx 1 horn horn 29 Nov 23 14:49 uni -> /var/spool/mail/uni/mailboxes --8<---------------cut here---------------end--------------->8--- Whenever I delete those symlinks and created them anew, the new mails get indexed with the next "notmuch new". Of course, I could create a script that does exactly that, but there should be a better way, right? Bye, Tassilo