|
NAMEreconstruct - Cyrus IMAP documentationReconstruct mailboxes SYNOPSISreconstruct [ -C config-file ] [ -p partition ] [ -x ] [ -r ] [ -f ] [ -U ] [ -s ] [ -q ] [ -G ] [ -R ] [ -o ] [ -O ] [ -M ] mailbox... reconstruct [ -C config-file ] [ -p partition ] [ -x ] [ -r ] [ -f ] [ -U ] [ -s ] [ -q ] [ -G ] [ -R ] [ -o ] [ -O ] [ -M ] -u user... reconstruct [ -C config-file ] [ -p partition ] [ -r ] [ -q ] -V version mailbox... reconstruct [ -C config-file ] [ -p partition ] [ -r ] [ -q ] -V version -u user... DESCRIPTIONreconstruct rebuilds one or more IMAP mailboxes. It can be used to recover from almost any sort of data corruption.If reconstruct can find existing header and index files, it attempts to preserve any data in them that is not derivable from the message files themselves. The state reconstruct attempts to preserve includes the flag names, flag state, and internaldate. reconstruct derives all other information from the message files. reconstruct reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C. Any mailbox directory underneath the path specified in the partition-news configuration option is assumed to be in news format. reconstruct does not adjust the quota usage recorded in any quota root files. After running reconstruct, it is advisable to run quota(8) with the -f switch in order to fix the quota root files. When upgrading versions of Cyrus software, it may be necessary to run reconstruct with the -V option, to rebuild indexes to a given version (or max for the most recent). Note that the -V option cannot be combined with most other reconstruct options. If a mailbox needs reconstructing you should do that first, and then upgrade it with -V once it’s good. OPTIONS
EXAMPLESreconstruct -r -f tech.support Recursively reconstruct all mailboxes within the
tech.support hierarchy, restoring any directories containing
cyrus.header files.
reconstruct -r -f tech.support.Archive.2% Recursively reconstruct all mailboxes within the
tech.support.Archive hierarchy with names beginning with
‘2’, restoring any directories containing cyrus.header
files.
reconstruct -r -f -u jsmith Recursively reconstruct all mailboxes belonging to
jsmith, restoring any directories containing cyrus.header
files.
HISTORYThe options -k (keep flags) and -g (clear GUID) have been deprecated in Cyrus version 2.4.The -u and -V options were added in Cyrus version 2.5. The -M option was added in Cyrus version 3.0. FILES/etc/imapd.confSEE ALSOimapd.conf(5)AUTHORThe Cyrus Team, Nic Bernstein (Onlight)COPYRIGHT1993-2018, The Cyrus Team
Visit the GSP FreeBSD Man Page Interface. |