logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mbexamine - Cyrus IMAP documentation

Author

       The Cyrus Team, Nic Bernstein (Onlight)

Description

mbexamine  will  examine  the  header,  index,  and  cache  files  of a cyrus format mailbox and dump the
       information contained therein.  It can also limit its output  to  a  specific  uid  or  sequence  number,
       through use of the -s and -u switches.

       mbexamine reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
       It uses <configdirectory>/mailboxes.db to locate the mailbox on disk.

Examples

mbexamineuser.jsmithExaminethemailboxhierarchyrootedatuser.jsmith.mbexamine-u00000004user.jsmithExaminethemailboxhierarchyrootedatuser.jsmithlookingformessageswithUID=00000004.mbexamine-quser.jsmithExaminethemailboxhierarchyrootedatuser.jsmithcheckingquotas.mbexamine-cuser.jsmithExaminethemailboxhierarchyrootedatuser.jsmithcomparingindexrecordstotheactualmessagefilesinthemailboxdirectory.

Files

       /etc/imapd.conf, <configdirectory>/mailboxes.db

Name

       mbexamine - Cyrus IMAP documentation

       Examine a cyrus-format mailbox

Options

-Cconfig-file
              Use the specified configuration file config-file rather than the default imapd.conf(5).

       -uuid,--uid=uid
              Dump information for the given uid only.

       -sseqnum,--seq=seqnum
              Dump information for the given sequence number only.

       -q,--check-quota
              Compare  the  quota  usage  in  cyrus.index  to  the  actual  message  file  sizes  and report any
              differences.  If there are differences, the mailbox SHOULD be reconstructed.

       -c,--check-message-files
              Compare the records in cyrus.index to the actual message files report any differences.   This  can
              help detect issues if messages files were manipulated manually and/or restored incorrectly.

See Also

imapd.conf(5)

Synopsis

mbexamine [ -Cconfig-file ] [ -uuid ] mailbox...
          mbexamine [ -Cconfig-file ] [ -sseqnum] mailbox...
          mbexamine [ -Cconfig-file ] -qmailbox...
          mbexamine [ -Cconfig-file ] -cmailbox...

See Also