From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMa3L+2SBGHcJgEAgWs5BA (envelope-from ) for ; Sat, 31 Jul 2021 02:01:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CGVdK+2SBGHsPAAAB5/wlQ (envelope-from ) for ; Sat, 31 Jul 2021 00:01:49 +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) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BE2DC2172E for ; Sat, 31 Jul 2021 02:01:48 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 26EC62922E; Fri, 30 Jul 2021 20:01:43 -0400 (EDT) X-Greylist: delayed 904 seconds by postgrey-1.36 at nmbug; Wed, 05 May 2021 12:12:02 EDT Received: from sender4-of-o54.zoho.com (sender4-of-o54.zoho.com [136.143.188.54]) by mail.notmuchmail.org (Postfix) with ESMTPS id E9BE62716D for ; Wed, 5 May 2021 12:12:02 -0400 (EDT) ARC-Seal: i=1; a=rsa-sha256; t=1620230213; cv=none; d=zohomail.com; s=zohoarc; b=WRxtIOWxaukdeNy+sGkL66x8StlrQYla4QXn9hOD0AjQ9AejZP4WTB//25XHYWk15Lzzb85h8yLrsIhc2gPLH+naRDBx5pwTocir3yJA9201K60fQ7juJ5Xj7mdsOaLsABLbhpMulxmj0rkCGthqGrL7fVpxki+LLHsgjUj9FFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620230213; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=i5qu1i+36FbOUmgXYdV5m98QMzpOSxddg7/yTRdjkTg=; b=AAspL0V5NvYKvi+oGAluafiHPLXv0XaWgGdp88xpG/3SvZx/nSz8Gc/I75QRmhNSxjxNo+R+ocKr/h+0uRliFKB4cVvPNBTb83OoQysx1613fowolKKf0mGLBneTNPTXJbghmI0U66LbD3fK4N9O/SYvMOqWT0ER9va+0XYu8+U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=mkoskar.com; spf=pass smtp.mailfrom=mk@mkoskar.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1620230213; s=zoho; d=mkoskar.com; i=mk@mkoskar.com; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; bh=i5qu1i+36FbOUmgXYdV5m98QMzpOSxddg7/yTRdjkTg=; b=AIOdPFwU6C1+YKhX6uKxBrvGa7EaMt0JnryBdWN9e9aL1vRPISZJmnQ9lp8HgYrM U2wWjvXBypesn4N9gnFffaoK3TZVUPA91NjI9ablxzSvLc8PSyafRP8yBlLcPvdJ/Zw SlkbY9daKsXVrnt0L77KswIKp6U0RgG8zRNcRABE= Received: from localhost (baobab.mkoskar.com [185.8.165.229]) by mx.zohomail.com with SMTPS id 1620230210666945.3433178177204; Wed, 5 May 2021 08:56:50 -0700 (PDT) Date: Wed, 5 May 2021 17:56:48 +0200 From: Miroslav =?utf-8?B?S2/FoWvDoXI=?= To: notmuch@notmuchmail.org Subject: database.path vs. database.mail_root: regression when relative Message-ID: <20210505155648.pvaa3rbgrpp3a7rr@mkoskar.com> Mail-Followup-To: notmuch@notmuchmail.org OpenPGP: url=https://keybase.io/mkoskar/key.asc MIME-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-MailFrom: mk@mkoskar.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: UBXVUA43QMEQZSFA7ANVWPWRWJD4BWNW X-Message-ID-Hash: UBXVUA43QMEQZSFA7ANVWPWRWJD4BWNW X-Mailman-Approved-At: Sat, 31 Jul 2021 00:01:41 -0400 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: multipart/mixed; boundary="===============2597499610491663240==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627689709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type:list-id: list-help:list-unsubscribe:list-subscribe:list-post:dkim-signature: openpgp:openpgp; bh=RuK9ZYEXfV2+iEaK46tpk+UwTEXKd0pRXa5c7NOgSwg=; b=N9aDQhRm6biuW3904o16Mx4ffCwbhSSbHTaIUXMbgZdMVrZ9x1qDjIjsf8x5TBQXLQRCk5 mZ04AystzyXVE+mgTF3C4YWCyJOftx/0yxWqNi/s0jVC2Ls1cJxEVfysXaFklXfjnMz/kZ EQXz0M6SW82OEhfeSXd4/G0sWpAvR3DbTozRZ6fT8sDGwcvc2XC1pfcfDWOeNuaHa9xWML Fho51a2qF3RZ/FOTiexAQwwaZBNNkYDnPUKJPQv8KI1ZHjBYGlkODNZXWL2Oi4yHb8vw86 fLAUoDsgT4jrSJ7QFQKXEgKf9Zn4OpOtHMkW5fJFhtyJ9UXd9B1O9ABiTsmwDA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1627689709; a=rsa-sha256; cv=fail; b=QqugwbOgOm0meeZwPajfmZe62zKRClD7pV4RPsMTbfgiDrbmsccR89+zgI9f03vvOChL76 5LuCdyFFaoao/JEuGVTm+8jY4GnbOX2oRqWTjV12FJxIV1AgUkIC/9DIeHtlcj+PZOX9Bs R+1zGI6Ig/q3zkZ9qiIcAo4LoXqk8C99tMr1JfFDAzoDZzG8ZsiUJFDnean+YXB3FfFWwz mbcvk7MIrpIDeMXt9mlUFUYy7XJIITt9CKffPOZ0SCxKztBxEr/4+IWskSokN3BRYpJ7R0 wvW67H6PHwJd6D56iI6IK8x6j4RSQqy6//9SMmRnTqqTXMcDn+lDdeSMkPh5HQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mkoskar.com header.s=zoho header.b=AIOdPFwU; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); 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.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mkoskar.com header.s=zoho header.b=AIOdPFwU; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: BE2DC2172E X-Spam-Score: -0.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: N+yov/R5Za2s --===============2597499610491663240== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cloeufid5iqu7y2j" Content-Disposition: inline --cloeufid5iqu7y2j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Consider following configuration in [database] section: [database] path=3Dmail/main With notmuch 0.32 running: $ notmuch config list | grep database database.backup_dir=3D/home/miro/mail/main/.notmuch/backups database.hook_dir=3D/home/miro/mail/main/.notmuch/hooks database.mail_root=3Dmail/main database.path=3Dmail/main It seem OK. Notice that backup_dir and hook_dir are absolute paths and resolved correctly. Running: $ notmuch count 6454 All good! Running: $ notmuch new ... Unexpected error with file mail/main/INBOX/cur/1615663870.253649_51.mir= ci,U=3D36739:2,S add_file: Something went wrong trying to read or write a file Error opening mail/main/INBOX/cur/1615663870.253649_51.mirci,U=3D36739:= 2,S: No such file or directory ... Not good! Setting database.path to an absolute path is a working workaround. It seems that while notmuch can determine the correct location of the database, when in need to access actual emails it fails. Coinciding with the introduction of database.mail_root it seems that it's not interpreted the same way when set (or "inherited" from database.path) as relative value. --=20 Miroslav Ko=C5=A1k=C3=A1r http://mkoskar.com/ --cloeufid5iqu7y2j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEVR9UHWO4MtBRDnRsiNC3RGjrxRUFAmCSwDoACgkQiNC3RGjr xRV60BAAwvw6N9aUH18trTa+28PPUvMikjLGesisWhYG2qBvKKy6LmZYeZZUVeOa g7ihoE2gRtymO3GFNd93S1PM78jOKYpRVAh8HkQ6WzKaVPoAoNIj2jQSLEjmhVoD HN/+/lmPf5yCWD1kdokfNfO1AmAyfogk40mS38RemFsuWb6E1B5gOs/eXF+qt3Nw 0jT9yeoOOzt2U/2hr0ylVfxy5H5coj/KBlpfX7sOjkPcrSQypiqnRXes3j4dQioC KVmosIksNTXmcXYlZqwcz2cDPKLEtzM0aYGjql8KtfR5Q1Kq+GbBK0mad9Rkp7x0 gZVebTEVIXW0vL7W9oowp2owr9PJyhZ9zZsIpnWRl8VnD28lQCZ18gZPgEXtiidJ TzJ+ViRFFypT/WNaYCZXvEZzYNsW1F+JgJhw0TG3vMFUEQr0LpjctYKq95xXA0A9 KqYr4y6+tJwb4JaOtw1MeDGO7lN+8SMJFgq6lE42Ki42xOGsantmdaEh4xv3fydr fIA+a5POVCUIr0T/daDl8wMVVg7ZZUIGss335UQsi+0MFa7N5gUbvfFaDTWu645U K6W6CfPFiRHL41M7dd0B5yoOzFsThBXZAxQRwl7e0bj2CN/tSEuf5KZN8zrGCC8o CEYJpl4Q/oUajs+iyGpgVCZ509qNrQXGjfk5h0Z+iDyLgNcoxCw= =ape9 -----END PGP SIGNATURE----- --cloeufid5iqu7y2j-- --===============2597499610491663240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2597499610491663240==--