Discussion:
Cyrus IMAP-3.0.7 - listmailbox user/* does not report all mailboxes
ellie timoney
2018-07-17 02:23:46 UTC
Permalink
Starting with the obvious, but did the user you login to cyradm as have admin privileges? Are they listed in "admins:" in your imapd.conf?

If you logged into cyradm as a regular user, you would only see mailboxes that your user had been granted access to... ;)
I We recently moved our imap service from CentOS and IMAP-2.11 to
FreeBSD and IMAP 3.0.7. At the time we followed the upgrade path and
sudo -u cyrus /usr/local/cyrus/sbin/reconstruct -f -r -G -V max user/*
# Reconstruct and upgrade the mailbox folders
Since the conversion everything has been running fine and we have no
reported problems with mailbox administration, message receipt, or
anything else having to do with IMAP.
However, this morning I had cause to check for the existence of a
particular mailbox folder. When I logged into cyradm and ran
'listmmailbox' I only received listings for three of our users, none
of which showed the entire mailbox folder tree for any of those
reported.
This anomaly gives me great concern. Are there any known issues with
cyrus-imapd that might cause this problem? Is it necessary to run
reconstruct on a regular basis?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
ellie timoney
2018-07-19 02:37:34 UTC
Permalink
Post by ellie timoney
Starting with the obvious, but did the user you login to cyradm as
have admin privileges? Are they listed in "admins:" in your
imapd.conf?
If you logged into cyradm as a regular user, you would only see
mailboxes that your user had been granted access to... ;)
I was logged on as the cyrus administrator via sudo. However, I
discovered that the problem does not really exist. What happened is
that the terminal manager I was using (tmux) was helpfully only
showing the first few lines returned and the last few, leaving out the
vast majority of the report.
I had run into tmux's extraordinary behaviour previously with output
from the cat utility. But I was not expecting it to be encountered in
this case.
Anyway, everything WRT IMAP is as it should be and my heart rate has
returned to its normally elevated state.
Yikes, I can see how that would cause palpitations, glad it's sorted!
Loading...