From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Utkarsh Singh Newsgroups: gmane.emacs.help Subject: Re: Why Gnus is creating .nnmaildir directory in my maildir? Date: Tue, 13 Apr 2021 23:24:16 +0530 Message-ID: <875z0qxe7r.fsf@gmail.com> References: <87im4qb3yt.fsf@gmail.com> <87im4qgov4.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39102"; mail-complaints-to="usenet@ciao.gmane.io" To: Eric Abrahamsen , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 13 19:55:07 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWNFi-000A0d-Dj for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Apr 2021 19:55:06 +0200 Original-Received: from localhost ([::1]:43016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWNFh-0006OS-GF for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Apr 2021 13:55:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWNF1-0006O4-N8 for help-gnu-emacs@gnu.org; Tue, 13 Apr 2021 13:54:23 -0400 Original-Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:36725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWNEy-0004U3-Cr for help-gnu-emacs@gnu.org; Tue, 13 Apr 2021 13:54:23 -0400 Original-Received: by mail-pf1-x430.google.com with SMTP id b26so6780292pfr.3 for ; Tue, 13 Apr 2021 10:54:18 -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=qZvso1Kp+JNRV3uzWroWFoEk0nEtFb61lZTRoHtGXEw=; b=UQtT+cbPY6ImCG728473DxHNs+kWR8m6iqSWKypCCVC8gp/LScRsWx4KdRrl1f1aeW Yie63IDoUexyu7fIJ0j9/ZK+P4xkpkzvwSFjcAZVEfZDPD6P5D+YMkYTulJxovbSknIq 4n7ys99qJXMRmOj4DzrrTB1MDmZw+uVT5fCdur/5sohHjzYGxnl4UJxkECV7oleUOFUa XPnlGmUzbwGhacmH7ETRTgnMjch+P0ag98DpijX5exIOU8RiagViHB5x5dnFGgd0fbrm zQGYu886O7ewz/crr0JLJM3MdZpGiEmdeQQ3QrcRKaSOAV6AsLwDYrKoE9vYVSRedZoM 5B6w== 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=qZvso1Kp+JNRV3uzWroWFoEk0nEtFb61lZTRoHtGXEw=; b=WtD8Q2Gn5eJ10wqAFnEUjalay9+YuxxRqvKOrp0qSJ0Bm61WFAoFG1nyBA9eqnwxk3 lNljFQoABte4HKJxt46rVlpqaE8WfOzIZpbCEFCGKZhM83uPIpV9/toWJOviUfJBcves +WQG18ybRyCVyEPz3WnIOgWZC4VrVfJ7mAIhKeWqmPlLWRoNCOi8+b+kB2hgu6rI1mc3 bKXCDLiMa2q0Uf7xGB/kBoCDRthNfv2hWsJN7OKXe4LjCiGKFoWg8b5YDtjykPY435de vaWOoqGegGeStU/RkG8HePHmrpao6sa4eWSRDQmb3RPMORkAF6caquUo3LWWpA1+lHGh FMjw== X-Gm-Message-State: AOAM533YH+6ob7jN/y9NEEiuceOFBcsbQtnzDSluIQ2HfhO63TK+1BVX sTVJeLkx6cFdV/hIy5jxIJ4= X-Google-Smtp-Source: ABdhPJyu3xRDXo+xME0IA887DtMkrZDuM9ETM4LYjH3KC7RcsZps7INUt7S2pWjDy7nxuwrCYDdbmw== X-Received: by 2002:a62:2c46:0:b029:245:6391:b631 with SMTP id s67-20020a622c460000b02902456391b631mr24254120pfs.67.1618336457018; Tue, 13 Apr 2021 10:54:17 -0700 (PDT) Original-Received: from localhost ([103.77.0.127]) by smtp.gmail.com with ESMTPSA id q19sm14687734pgv.38.2021.04.13.10.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 10:54:16 -0700 (PDT) In-Reply-To: <87im4qgov4.fsf@ericabrahamsen.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=utkarsh190601@gmail.com; helo=mail-pf1-x430.google.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128986 Archived-At: On 2021-04-13, 08:56 -0700, Eric Abrahamsen wrote: > Utkarsh Singh writes: > >> Hi, >> >> I am trying to configure Gnus on my GNU/Linux system. I will first >> try to give background for my problem. >> >> 1. I am using mbsync/isync to fetch mail. >> 2. msmtp as `sendmail-program'. >> 3. '~/.local/share/mail/email-id' as maildir. >> 4. notmuch as mail indexer. >> >> Overview of my maildir: >> ~/.local/share/mail/utkarsh190601@gmail.com $ ls >> INBOX [Gmail].Drafts [Gmail].Sent [Gmail].Spam [Gmail].Trash >> Sent [Gmail].Important [Gmail].Sent Mail [Gmail].Starred >> >> *Problem: Gnus is creating .nnmaildir directory in my maildir.* >> >> Due to this whenever I try to run 'notmuch new' (command to update >> indexer database) it gives several lines long warning: >> ignoring non-mail file .nnmaildir/cur/..' > > The nnmaildir backend uses the .nnmaildir directory to store cached > headers and other information about your maildir messages, for faster > retrieval. Many people don't like this, and/or would prefer more > configurability, but at the moment there's no way around it. For now you > can tell notmuch to ignore that path with the "new.ignore" option in > your notmuch config. Thanks! Everything works as expected now. For the sake of reference here is the diff of change I made: diff --git a/notmuch/.config/notmuch-config b/notmuch/.config/notmuch-config index 90ec965..72e1c22 100644 --- a/notmuch/.config/notmuch-config +++ b/notmuch/.config/notmuch-config @@ -5,7 +5,7 @@ name=Utkarsh Singh primary_email=utkarsh190601@gmail.com [new] tags=unread;inbox; -ignore=.mbsyncstate;.uidvalidity +ignore=.mbsyncstate;.uidvalidity;.nnmaildir [search] exclude_tags=deleted;spam; [maildir] -- Utkarsh Singh http://utkarshsingh.xyz