Discussion:
IMAP mailbox not selectable in browser
Olaf Hering
2018-10-28 08:57:17 UTC
Permalink
I have two mailboxes named "foo" and "foo.bar" on an IMAP server. If I
want to change into "foo", mutt only shows that entry as a directory. It
can only be selected if the name is specified manually. Both mailboxes
are apparently properly offered in claws. I wonder what makes mutt think
"foo" is a folder. Looking at the mutt -d 255 output:

$ grep -C1 foo .muttdebug0
[2018-10-28 09:41:36] 4< * LIST (\HasNoChildren) "." "unrelated"
[2018-10-28 09:41:36] 4< * LIST (\HasChildren) "." "foo"
[2018-10-28 09:41:36] 4< * LIST (\HasNoChildren) "." "Queue"
--
[2018-10-28 09:41:41] 4< * LIST (\HasNoChildren) "." "unrelated"
[2018-10-28 09:41:41] 4< * LIST (\HasChildren) "." "foo"
[2018-10-28 09:41:41] 4< * LIST (\HasNoChildren) "." "Queue"
--
[2018-10-28 09:41:57] 4< * LIST (\HasNoChildren) "." "unrelated"
[2018-10-28 09:41:57] 4< * LIST (\HasChildren) "." "foo"
[2018-10-28 09:41:57] 4< * LIST (\HasNoChildren) "." "Queue"
--
[2018-10-28 09:41:59] Hole Liste der Ordner...
[2018-10-28 09:41:59] imap_browse: mbox: foo
[2018-10-28 09:41:59] 4> a0010 LIST "" "foo"
[2018-10-28 09:41:59] 4< * LIST (\HasChildren) "." "foo"
[2018-10-28 09:41:59] 4< a0010 OK LIST completed
[2018-10-28 09:41:59] IMAP queue drained
[2018-10-28 09:41:59] imap_browse: Quoting mailbox scan: foo. -> [2018-10-28 09:41:59] "foo.%"
[2018-10-28 09:41:59] 4> a0011 LIST "" "foo.%"
[2018-10-28 09:41:59] 4< * LIST (\HasNoChildren) "." "foo.bar"
[2018-10-28 09:42:00] 4< a0011 OK LIST completed


Is there a chance I misconfigured mutt, or should it rather recognize
that "foo" itself is also a mailbox unconditionally?

Olaf
Kevin J. McCarthy
2018-10-28 16:42:02 UTC
Permalink
Post by Olaf Hering
I have two mailboxes named "foo" and "foo.bar" on an IMAP server. If I
want to change into "foo", mutt only shows that entry as a directory.
To open a folder that also has children, use <space> instead of <enter>
in the browser.
Post by Olaf Hering
It
can only be selected if the name is specified manually. Both mailboxes
are apparently properly offered in claws. I wonder what makes mutt think
$ grep -C1 foo .muttdebug0
[2018-10-28 09:41:36] 4< * LIST (\HasNoChildren) "." "unrelated"
[2018-10-28 09:41:36] 4< * LIST (\HasChildren) "." "foo"
In this line, the IMAP server is telling mutt that foo has children.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
Loading...