From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cBFTHPmSBGECJwEAgWs5BA (envelope-from ) for ; Sat, 31 Jul 2021 02:02:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CMnuF/mSBGHmfwAAbx9fmQ (envelope-from ) for ; Sat, 31 Jul 2021 00:02:01 +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 CD17C1907D for ; Sat, 31 Jul 2021 02:02:00 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B5FEC29905; Fri, 30 Jul 2021 20:01:50 -0400 (EDT) X-Greylist: delayed 507 seconds by postgrey-1.36 at nmbug; Sat, 08 May 2021 16:59:28 EDT Received: from mail.kisara.moe (119.ip-51-38-65.eu [51.38.65.119]) by mail.notmuchmail.org (Postfix) with ESMTPS id 0CFC61FAC2 for ; Sat, 8 May 2021 16:59:28 -0400 (EDT) Received: from mk-desktop (unknown [90.215.36.244]) by mail.kisara.moe (Postfix) with ESMTPSA id AC47FA0524 for ; Sat, 8 May 2021 22:50:54 +0200 (CEST) From: mohsin kaleem To: notmuch@notmuchmail.org Subject: [kisara.moe] notmuch doesn't respect MAILDIR env for database path Date: Sat, 08 May 2021 21:49:39 +0100 Message-ID: <87bl9lx864.fsf@kisara.moe> MIME-Version: 1.0 X-MailFrom: mohkale@kisara.moe 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: PADKD3PFGEMH56ZDH5AVAFZKK3KVDNTB X-Message-ID-Hash: PADKD3PFGEMH56ZDH5AVAFZKK3KVDNTB 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: 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=1627689720; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=E1ecQclMJgufErf4exOXS9/4qJG6DzoI8gZwFX2raGY=; b=JNfIr8uV/Fxq08pM5raRfvxZBzYBsm+fVqspnFJoKdWCDgxf2K6SQS5wtUhe0X66rH4nrL lP/vNpoRZpiLIogGqGAmVQEN2SFv21bbHTkfuFHgB60ew1MLZOlK8xh1zD2NGvyHaeHqXs vKOr5Ka0CPDHF8eUxOgKeyLQQwzvTexHo0FkNzEOaHVeCtP0hcVygtOVLJj1Ts6XL/i4SE DPSyEnRPjlH2ntRHXHkKB3iiYSdkz10bMLDssVOF8TsxWjdjVEeaPaP/IjZVlXmJg8+bg6 GX3FHPzBYyhu82RubzSIRUMyhiOS89zG/+jRaebJBcUtTflFT+BlSLUGQ3solQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627689720; a=rsa-sha256; cv=none; b=IgMadHC+qeK+0nbzJxI1DXao0877EA9A+O6ntAySi16ia9S5aziP8tm4VKrGWDO60/0BYU XTDaIdd4xJ7fJFYmS1S8IjK57IcjrfGr5sDVGj2vnEIKOpa/bGYkB5phCvS6cj+9XemInJ Bb8loB+XZ/HP7l+XZH2nKb1hayrwNzEqUeX2FEdl6Mp2uyxBsYtBFghglwZRaIknODJZu4 osCdSeAi+Gv8kY4MTiR9PUiGwCKyYlTwdCLnR/ZXoRtmD3BseXOXmzT28KVBf+GQuXwG2k U/NUNuZ9M0UqenUvc0CZXV1Pb8rMo2P0cbKPmMHLErcIDsUcbX9JXijXkcKDDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kisara.moe (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.88 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kisara.moe (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: CD17C1907D X-Spam-Score: -0.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: dN+4RIiw++gE notmuch doesn't seem to use the value of the $MAILDIR option when assigning `database.path`. On a new install from notmuch version 0.32 I ran `notmuch` to initialise a config and then `notmuch new` which produces the output ``` Found 4 total files (that's not much mail). Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/flintlock Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/termlist.glass Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/postlist.glass Note: Ignoring non-mail file: /home/mohkale/.local/share/notmuch/default/xapian/iamglass Processed 4 total files in almost no time. No new mail. ``` notmuch seems to default to using ~/.local/share/notmuch for the `database.path` value instead of MAILDIR like the manual for notmuch-config states. S.N. My value of $MAILDIR is `~/docs/mail`. It exists in the maildir format and has several mail files available already.