Problem with IMAP folder browsing
I've been using google and trying to find the answer to my question in
the FAQ, but so far I've hit a dead end. Doesn't mean that it's not
there but if it is I haven't found it yet.
I've been using mutt for years now and I just recently moved my mail
over to Debian Sarge. The version of mutt that came with sarge is
1.5.9-2:
# dpkg -s mutt
Package: mutt
Status: install ok installed
Priority: standard
Section: mail
Installed-Size: 3768
Maintainer: Marco d'Itri <md@xxxxxxxx>
Architecture: i386
Version: 1.5.9-2
Replaces: mutt-i, mutt-utf8
Provides: mail-reader, imap-client
Depends: libc6 (>= 2.3.2.ds1-21), libdb4.3, libgnutls11 (>= 1.0.16),
libidn11 (>= 0.5.13), libncursesw5 (>= 5.4-1), libsasl2 (>= 2.1.19),
exim4 | mail-transport-agent
Recommends: locales, mime-support
Suggests: urlview, aspell | ispell, gnupg, mixmaster, openssl,
ca-certificates
Conflicts: suidmanager (<< 0.50), mutt-i, mutt-utf8
Conffiles:
/etc/Muttrc fc8949a6ef961df08ac53433698d19b6
Description: Text-based mailreader supporting MIME, GPG, PGP and
threading
Mutt is a sophisticated text-based Mail User Agent. Some highlights:
o MIME support (including RFC1522 encoding/decoding of 8-bit message
headers and UTF-8 support).
o PGP/MIME support (RFC 2015).
o Advanced IMAP client supporting SSL encryption and SASL
authentication.
o POP3 support.
o Mailbox threading (both strict and non-strict).
o Default keybindings are much like ELM.
o Keybindings are configurable; Mush and PINE-like
ones are provided as examples.
o Handles MMDF, MH and Maildir in addition to
regular mbox format.
o Messages may be (indefinitely) postponed.
o Colour support.
o Highly configurable through easy but powerful rc file.
The imap server that I'm using is dbmail, version 2.0.7. I've been using
mutt version 1.4 on a Mandrake 9.2 server with dbmail for well over a
year now with smashing success. The only problem I've encountered with
the new version of mutt on debian is when trying to browse imap folders.
I get the root folder OK, but when I select a sub folder with the
<enter> key all that shows up is '/..' as the sole entry. I've changed
the file mask to '.' but no such luck. If I hit <enter> while the '/..'
entry is highlighted then the folder changes to something like:
'Lists/////////'
Notice the large number of trailing '/' characters. I cranked up the
logging of DBMail and got the following snippet from the logs:
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: IMAPClientHandler(): line read
for PID 27190
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: COMMAND: [a0079 LIST ""
"Lists/////////%"]
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: arg[0]: ''
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: arg[1]: 'Lists/////////%'
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: IMAPClientHandler(): Executing
command list...
Jan 4 12:42:44 localhost dbmail/imap4d[27190]: ic_list(): build the pattern:
[^Lists/////////[^\/]*$]
Jan 4 12:42:44 localhost dbmail/imap4d[27190]:
db.c,db_list_mailboxes_by_regex: in func
Is this a known bug or do I have a bad configuration option set. I've
tried reading through the changelog for the 1.5 series, but nothing seem
to single out any type of issue like I'm seeing.
Thanks
-Brian Weaver