<Type Number> in mailboxes.db
Dan White
dwhite at olp.net
Tue Aug 2 10:56:19 EDT 2011
On 02/08/11 16:30 +0200, Frank Elsner wrote:
>
>Hallo,
>
>which values are possible and what is the corresponding meaning
>for the <Type Number> in mailboxes.db?
>
>After failed XFERs we see
>
>- on the murder
>
> user.richard^hildebrand 1 mailcluster1
>
>- on mailcluster1
>
> user.richard^hildebrand 8 mailbackend-1-febe!default
>
>
>We would like to know what this means.
>Is it in error? And if it is, how to solve the problem.
For documentation on the mailbox format, see:
http://www.cyrusimap.org/docs/cyrus-imapd/2.4.10/internal/database-formats.php
and
/imap/mboxlist.h in the source:
/* flags for types of mailboxes */
#define MBTYPE_REMOTE (1<<0) /* Not on this server (part is remote host) */
#define MBTYPE_RESERVE (1<<1) /* Reserved [mupdate/imapd] /
Rename Target [imapd] (part is normal, but
you are not allowed to create this mailbox,
even though it doesn't actually exist */
#define MBTYPE_NETNEWS (1<<2) /* Netnews Mailbox - NO LONGER USED */
#define MBTYPE_MOVING (1<<3) /* Mailbox in mid-transfer (part is
remotehost!localpart) */
#define MBTYPE_DELETED (1<<4) /* Mailbox has been deleted, but not yet
cleaned up */
It appears that mailcluster1 believes a mailbox transfer was initiated, but
has not yet completed (or failed).
You can use cyr_dbtool to manually edit the entry in your mailboxes.db, or
remove it. See:
http://asg.andrew.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=52899
--
Dan White
More information about the Info-cyrus
mailing list