info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: maildir subdirs not accessible anymore


From: James Thomas
Subject: Re: maildir subdirs not accessible anymore
Date: Tue, 10 Sep 2024 03:48:54 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

Julien Cubizolles wrote:

> James Thomas <jimjoe@gmx.net> writes:
>
>> Julien Cubizolles wrote:
>>
>>> James Thomas <jimjoe@gmx.net> writes:
>>>
>>>> James Thomas wrote:
>>>>
>>>>> Julien Cubizolles wrote:
>>>>>
>>>>>> I noticed that maildir subdirs don't appear anymore in Gnus. For
>>>>>> instance, the
>>>>>>
>>>>>> [Gmail]/Inbox
>>>>>>
>>>>>>
>>>>>> is absent from the *Gnus Browse Server* list of groups and the [Gmail]
>>>>>> group throws the following:
>>>>>>
>>>>>> error "Couldn’t enter nnmaildir+Gmail:[Gmail]"
>>>>>>
>>>>>> I used to be able to access such subdirs before with the same setup
>>>>>> (nnmaildir populated by mbsync).I'm using Gnus v5.13.
>>>>>
>>>>> I might've had something to do with it. Could you try the fix mentioned
>>>>> in bug#69517 viz:
>>>>>
>>>>>> Lastly, the fix for such an unlikely existing setup is a simple rename
>>>>>> of the directory: say, from [Gmail]_Drafts to [Gmail]%2FDrafts.
>>>>
>>>> Or, in nnmaildir's case, renaming the groups might be sufficient. Could
>>>> you post your group names, directory names and the active file?
>>>
>>> There isn't a group name since the nnmail subdir isn't picked up. A
>>> nnmaildir directory name where this problem occurs is:
>>>
>>> ~/email/Maildir-mbsync/Free/ups-dir/ups-tex
>>
>> It seems (from the code and the manual) that nnmaildir descends only one
>> level, unless a 'directory-files' is set in the select method (info
>> "(gnus) Maildir"). Have you done that?
>
> I never did but I think it used to descend the directory nonetheless.
>
>>> which should appear in my setup as a group named
>>>
>>> ups-tex
>>>
>>>
>>> since the top dir of the maildir is Free.
>>>
>>> Also, where should I look for the active file for a nnmaildir ?
>>
>> Sorry, nevermind. It seems nnmaildir rereads rather than cache.
>>
>>> Lastly, I noticed the existence of
>>> gnus-subscribe-hierarchical-interactive
>>>
>>> Its value is t
>>> Original value was nil
>>>
>>> If non-nil, Gnus will offer to subscribe hierarchically.
>>> When a new hierarchy appears, Gnus will ask the user:
>>>
>>> Descend hierarchy alt.binaries? ([y]nsq):
>>>
>>> Is it relevant to this problem ? At the moment Gnus doesn't ask to
>>> descend the hierarchy for ups-dir for instance
>>
>> This seems to have no effect on nnmaildir. Or perhaps you have a
>> 'target-prefix' in the select method? Something like (target-prefix
>> "Free/ups-dir")?
>>
>> Please share your config if possible.
>
> The secondary method is just :
>
> (nnmaildir "Free"
>                  (directory "/home/wilk/email/Maildir-mbsync/Free")
>                  (gnus-search-engine gnus-search-notmuch
>                                      (remove-prefix 
> "/home/wilk/email/Maildir-mbsync/Free"))

Could you check that there's a symlink to 'ups-tex' within 'Free'? It
seems that that is needed, because from the docs:

  For each of your ‘nnmaildir’ servers (it's very unlikely that you'd
  need more than one), you need to create a directory and populate it
  with maildirs or symlinks to maildirs (and nothing else; do not choose
  a directory already used for other purposes).

--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]