Bug#657703: cyrus-imapd-2.4: Certain subscribed folders are not being listed

Anthony L. Awtrey tony at awtrey.com
Sat Jan 28 04:45:36 UTC 2012


Package: cyrus-imapd-2.4
Version: 2.4.13-1
Severity: normal

Running current unstable on my home server. I noticed that certain folders
disappeared recently and assumed some kind of upgrade corruption in the
data files (it's happened before). Turned out to be somewhat more subtle
than it appeared initialy.

Searching the net, I found one other person having a similar problem that
is probably worth mentioning:

  http://blog.webworm.org/content/cyrus-2413-some-gotchas

I was able to log the client protocol using /var/lib/cyrus/log/username
and can see both Squirrelmail and Thunderbird behaving correctly when
LIST, LSUB and SUBSCRIBE commands are being run.

Looks good, right?

  >1327725343>A001 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte
   QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN
   MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY
   THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED WITHIN
   QRESYNC SCAN XLI ST URLAUTH URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE
   IDLE] User logged in SESSIONID=<cyrus-21623-1327725343-1>
  <1327725343<A002 SUBSCRIBE "INBOX.Miscellaneous.HOA Woodbury"
  >1327725343>A002 OK Completed
  <1327725343<A003 LOGOUT
  >1327725343>* BYE LOGOUT received
  A003 OK Completed

When LSUB runs, the folder is left out, but it shows up as expected in a LIST:

  ...
  * LIST (\HasChildren) "." "INBOX.Miscellaneous.HOA Woodbury"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2005-2006"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2007"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2008"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2009"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2010"
  * LIST (\HasNoChildren) "." "INBOX.Miscellaneous.HOA Woodbury.2011"
  ...

My username.sub is a text file rather than a db, so I can clearly see the
folder in the list. I've cranked up the debug verbosity, but it doesn't
look like a problem with my data or configs.

I wanted to post an upstream bug, but I hoped someone out there with big
imap directories could compare their LIST and LSUB output to confirm the
issue exists.

I did try what the author of the blog report suggested and updated my configs
to use the improved_mboxlist_sort option, but it made no difference for me.

Let me know if there are any steps or tests I could run. Thanks!

Tony

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cyrus-imapd-2.4 depends on:
ii  cyrus-common-2.4  2.4.13-1
ii  libc6             2.13-24
ii  libcomerr2        1.42-1
ii  libdb5.1          5.1.29-1
ii  libgssapi-krb5-2  1.10+dfsg~beta1-2
ii  libk5crypto3      1.10+dfsg~beta1-2
ii  libkrb5-3         1.10+dfsg~beta1-2
ii  libkrb5support0   1.10+dfsg~beta1-2
ii  libsasl2-2        2.1.25.dfsg1-3
ii  libssl1.0.0       1.0.0g-1
ii  libwrap0          7.6.q-22
ii  zlib1g            1:1.2.3.4.dfsg-3

cyrus-imapd-2.4 recommends no packages.

cyrus-imapd-2.4 suggests no packages.

-- no debconf information





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list