From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EKWJOeMhmGAAVgAAgWs5BA (envelope-from ) for ; Sun, 09 May 2021 19:54:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2A0cNeMhmGBhFwAAB5/wlQ (envelope-from ) for ; Sun, 09 May 2021 17:54:43 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2F53152C6 for ; Sun, 9 May 2021 19:54:42 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8FFF527176; Sun, 9 May 2021 13:54:39 -0400 (EDT) Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by mail.notmuchmail.org (Postfix) with ESMTPS id 73C9E1FAC2 for ; Sun, 9 May 2021 13:54:37 -0400 (EDT) Received: by mail-pf1-x436.google.com with SMTP id b15so12062116pfl.4 for ; Sun, 09 May 2021 10:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=IvEtodPa8nRUIbEFPXGwVk4Qi9aDVNeTmV2T0E/VDBs=; b=rAj1EudgVlJyn/oIRjAWs9jgQr6thKd/D6kDD7KvrFxbOBAeSn9cbXxrx2zZw0ntCu aG5eeKBx9WSo2tgkrVtPg4CVxa/yd+OSHS6g5qyPLsbv4Ripuqx8qZJ/nviDbvMLPJGM yfIX2D3kMtc1pMwXiqCxPFL9QI2z/uK89ExMWgB0vxiCT02z0YOJabOalQZWH3n6E3lo Upm18ziG5sQ3NLHpG90bVnvJzF/l7m1g3skBUpy+dqrhE2qkEXVsAple4CFvfIbh8n/E 1fac0kp2FN41OIE4ahbENqqW2Dbz1qsq5TPMWPMneklmxKSmfozHgWcpngy+3eIIIQMc MfcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=IvEtodPa8nRUIbEFPXGwVk4Qi9aDVNeTmV2T0E/VDBs=; b=rTSlslUyuDRTKTzm8AgWzlvnFAt7vJn82dJmWxXRLSlPglS4azX8svv+9jRVZ8bncL JPf6pEoV0hfsWk/8CVYxOLpA0/Lv3zKx/CgINaexArXHfkVIEWlNBnAtJ9aoSXNtMGPb wJOLyTf4RHhKRU1nzT/uJhGgco1AKZ95re0mHpeojAMi2NnnVYDzlKolU3pH4Y305hY9 tBXrsCqQgE5m86/cqX8QMQA2We1xC7QTRqwe5VSukasx3i49vBRgSwnUvENwjAZErJ0A HttLq6+6Gt+eEMrIHlGEKYdjAFhdWOs33w9eu5947/JuztU/FoDCFvfkKcDQnWmP/2FI 74hw== X-Gm-Message-State: AOAM532z40KNJLed6egb/7Wak0kD2jUQ2DmvBbx9jfe9ncSIg5nVg/3V xRpNZ5927zxQzSRP546zMGiE/v20wes= X-Google-Smtp-Source: ABdhPJxOoSucbEsvImwtMIetWiLj5/opWuOdE4gOok/tqh4eSMRl5lkMtd8RS2zoRQwc09piB5tfVw== X-Received: by 2002:a63:5456:: with SMTP id e22mr14771516pgm.15.1620582869904; Sun, 09 May 2021 10:54:29 -0700 (PDT) Received: from localhost ([198.27.182.161]) by smtp.gmail.com with ESMTPSA id e5sm9403482pgj.91.2021.05.09.10.54.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 10:54:29 -0700 (PDT) From: Jack Kamm To: notmuch@notmuchmail.org Subject: Re: Breakage after updating to 0.32 (database and path issues) In-Reply-To: <87h7jcc5t2.fsf@gmail.com> References: <87h7jcc5t2.fsf@gmail.com> Date: Sun, 09 May 2021 10:54:28 -0700 Message-ID: <87eeefdc8b.fsf@gmail.com> MIME-Version: 1.0 Message-ID-Hash: NHWAWF3VP7OMQH3EWLJIOO6VAYXLE2G4 X-Message-ID-Hash: NHWAWF3VP7OMQH3EWLJIOO6VAYXLE2G4 X-MailFrom: jackkamm@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620582883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2jKy5dmVe+7HazZ/0623LwuOfkLQdXF0R4R62Hy1h4Y=; b=oaYMvVA4JDfcd6nNUFEB/9LOuiiKfVoWtrQ8dAj8VkTq/xTbIaYncxiHwL9Vn8Bienbhz2 6Q5K034w6AcEc1R/wxq4IRLp7IBrc68PHvx7D2TUGTfzQ1KuV/ThRaP2T/Fduk62VLS4f6 5Vv5oIg525ZGfz2snBxYuoiIuBv0IZI54/4usS7wsJ9YshkzEJH0D1P5YWhWGgmHMCweIh 9Y+FzCDP3YahvWoVU84wsVnRZH5PQMVntWY/BNkfeEsO4Eq8fk+9j4JfVVDh96uYI1/NiX RqWrp1dRxNCROs000uaYbNC58H4UAwxXCo3a1G34dmOk0Z6zyLtZTDZLJD2+nA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620582883; a=rsa-sha256; cv=none; b=iyp8YCGXb/+7O5KGrDRiZEoEFStJy3xp5XRlAkzRo2QkgWWAw5e7s+sdU/JjBA1hQWGRVY g6YFKJ8zq4bOZcKdaZQ+RSk8QZ2+RQIb1/feBhKjRSjqL5p67HLHTibH6unD+9Uav/N6o2 fdMDNEILT9HofKa6wbwZIMhZWtXYLw7Hr+oIsdga0azPBHtdd9bxBjFOPxxK8kOOnf3CWk jCNHzIbsexN/II0SLScM/+6lNx5OQjwClbKPZG3nE+vPryE3AvLHje5SF7yHo25EcXirK7 TvqFt9Jvp9UDcG1s8j2YkZTEIPBjB61Ig3qDMsMQ9D5BKLp6u+qg5o85OEjV2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=rAj1Eudg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=rAj1Eudg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: E2F53152C6 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: X4FoTNyfhkNh Update: I was able to fix my problems by explicitly setting "database.path" to "$HOME/mail" in my .notmuch-config. Then, notmuch was able to find my emails in my "$HOME/mail" as well as my database at "$HOME/mail/.notmuch". Confusingly, if "database.path" wasn't explicitly set in .notmuch-config, then "notmuch config get database.path" still returned "$HOME/mail", but notmuch cant' find the database, instead looking in ".local/share/notmuch/default". Is this a bug? Also, it seems like a bug that notmuch was unable to find any of my email when I had previously set "database.path" to "$HOME/mail/.notmuch". It seems like it was looking for the mail in "database.path" when it should have been looking in "database.mail_root". Finally, the manpage of notmuch-config(1) seems to be incorrect when it says that database.path will use a ".notmuch" subdirectory when "database.mail_root" is unset. In particular, "notmuch config get database.mail_root" returns "$HOME/mail", however "database.path" is still using a ".notmuch" subdirectory.