1MBTOOL(8) Cyrus IMAP MBTOOL(8)
2
3
4
6 mbtool - Cyrus IMAP documentation
7
8 intro
9
11 mbtool [ -C config-file ] -r mailbox...
12 mbtool [ -C config-file ] -t mailbox...
13
15 mbtool is a tool for performing various actions on the indexes of a
16 list of mailboxes. The only actions currently supported are -t, which
17 will normalize the internaldate time stamp of each record in the index
18 to GMT, and -r which will create a new unique ID for each mailbox.
19
20 Only one action may be given and at least mailbox must be listed.
21
22 It is intended that mbtool will be extended over time to perform more
23 such actions.
24
25 mbtool reads its configuration options out of the imapd.conf(5) file
26 unless specified otherwise by -C.
27
29 -C config-file
30 Use the specified configuration file config-file rather than the
31 default imapd.conf(5).
32
33 -t, --normalize-internaldate
34 Normalize internaldate on all index records of all listed mail‐
35 boxes to match the Date: header if they're off by more than a
36 day, which can be used to fix up a mailbox which has been re‐
37 stored from backup and lost its internaldate information.
38
39 -r, --new-uniqueid
40 Create a new unique ID for all listed mailboxes. Only works for
41 legacy mailboxes.
42
44 mbtool -r user.jsmith
45 Create new UUID for mailbox user.jsmith.
46
47 mbtool -t user.jsmith
48 Normalize internaldate on all index records in user.jsmith.
49
51 /etc/imapd.conf
52
54 imapd.conf(5)
55
57 The Cyrus Team
58
60 1993–2023, The Cyrus Team
61
62
63
64
653.8.1 Sep 11, 2023 MBTOOL(8)