[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why Gnus is creating .nnmaildir directory in my maildir?
From: |
Utkarsh Singh |
Subject: |
Re: Why Gnus is creating .nnmaildir directory in my maildir? |
Date: |
Tue, 13 Apr 2021 23:24:16 +0530 |
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
Re: Why Gnus is creating .nnmaildir directory in my maildir?, Jean Louis, 2021/04/13