1MBEXAMINE(8)                      Cyrus IMAP                      MBEXAMINE(8)
2
3
4

NAME

6       mbexamine - Cyrus IMAP documentation
7
8       Examine a cyrus-format mailbox
9

SYNOPSIS

11          mbexamine [ -C config-file ] [ -u uid ] mailbox...
12          mbexamine [ -C config-file ] [ -s seqnum] mailbox...
13          mbexamine [ -C config-file ] -q mailbox...
14          mbexamine [ -C config-file ] -c mailbox...
15

DESCRIPTION

17       mbexamine  will  examine  the header, index, and cache files of a cyrus
18       format mailbox and dump the information contained therein.  It can also
19       limit  its  output to a specific uid or sequence number, through use of
20       the -s and -u switches.
21
22       mbexamine reads its configuration options out of the imapd.conf(5) file
23       unless  specified  otherwise  by  -C.  It  uses <configdirectory>/mail‐
24       boxes.db to locate the mailbox on disk.
25

OPTIONS

27       -C config-file
28              Use the specified configuration file config-file rather than the
29              default imapd.conf(5).
30
31       -u uid, --uid=uid
32              Dump information for the given uid only.
33
34       -s seqnum, --seq=seqnum
35              Dump information for the given sequence number only.
36
37       -q, --check-quota
38              Compare  the  quota  usage  in cyrus.index to the actual message
39              file sizes and report any differences.   If  there  are  differ‐
40              ences, the mailbox SHOULD be reconstructed.
41
42       -c, --check-message-files
43              Compare  the  records in cyrus.index to the actual message files
44              report any differences.  This can help detect issues if messages
45              files were manipulated manually and/or restored incorrectly.
46

EXAMPLES

48          mbexamine user.jsmith
49          Examine the mailbox hierarchy rooted at user.jsmith.
50
51          mbexamine -u 00000004 user.jsmith
52          Examine the mailbox hierarchy rooted at user.jsmith looking for mes‐
53          sages with UID = 00000004.
54
55          mbexamine -q user.jsmith
56          Examine the mailbox hierarchy rooted at user.jsmith checking quotas.
57
58          mbexamine -c user.jsmith
59          Examine the mailbox hierarchy rooted at user.jsmith comparing  index
60          records to the actual message files in the mailbox directory.
61

FILES

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

SEE ALSO

66       imapd.conf(5)
67

AUTHOR

69       The Cyrus Team, Nic Bernstein (Onlight)
70
72       1993–2023, The Cyrus Team
73
74
75
76
773.8.1                            Sep 11, 2023                     MBEXAMINE(8)
Impressum