From: Utkarsh Singh <utkarsh190601@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>, help-gnu-emacs@gnu.org
Subject: Re: Why Gnus is creating .nnmaildir directory in my maildir?
Date: Tue, 13 Apr 2021 23:24:16 +0530 [thread overview]
Message-ID: <875z0qxe7r.fsf@gmail.com> (raw)
In-Reply-To: <87im4qgov4.fsf@ericabrahamsen.net>
On 2021-04-13, 08:56 -0700, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> Utkarsh Singh <utkarsh190601@gmail.com> 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
next prev parent reply other threads:[~2021-04-13 17:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-13 15:26 Why Gnus is creating .nnmaildir directory in my maildir? Utkarsh Singh
2021-04-13 15:56 ` Eric Abrahamsen
2021-04-13 17:54 ` Utkarsh Singh [this message]
2021-04-14 4:34 ` maildir package - " Jean Louis
2021-04-14 4:49 ` Recommended maildir sorting " Jean Louis
2021-04-13 21:03 ` Jean Louis
2021-04-13 22:04 ` Eric Abrahamsen
2021-04-14 4:11 ` Jean Louis
2021-04-15 19:37 ` Eric Abrahamsen
2021-04-13 21:01 ` Jean Louis
2021-04-14 4:50 ` Utkarsh Singh
2021-04-14 5:07 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z0qxe7r.fsf@gmail.com \
--to=utkarsh190601@gmail.com \
--cc=eric@ericabrahamsen.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).