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

ctl_cyrusdb - Cyrus IMAP documentation

Author

       The Cyrus Team, Nic Bernstein (Onlight), Jeroen van Meeuwen (Kolab Systems)

Description

ctl_cyrusdb is used to perform various administrative operations on the Cyrus IMAP databases.

       ctl_cyrusdb  reads  its configuration options out of the imapd.conf(5) file unless specified otherwise by
       -C.  The configdirectory option in imapd.conf(5) is used to determine the default location of  the  Cyrus
       databases.

Examples

ctl_cyrusdb-rRecoverdatabases,performingcleanup.ThisiscommonlyusedintheSTARTsectionofcyrus.conf(5).ctl_cyrusdb-x-rRecoverdatabaseonly.ctl_cyrusdb-cCheckpointdatabases.CommonlyusedintheEVENTSsectionofcyrus.conf(5).

Files

       /etc/imapd.conf /etc/cyrus.conf

Name

       ctl_cyrusdb - Cyrus IMAP documentation

       Perform administrative operations directly on Cyrus IMAP databases.

Options

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

       -r,--recover
              Recover  the database after an application or system failure. Also performs database cleanups like
              removing mailbox reservations (and the associated mailbox files).

              All mailbox files are also checked to make sure the file format matches  the  configured  database
              type  in  imapd.conf.   If  not,  the  file  is  automatically  converted  using the same logic as
              cvt_cyrusdb.

              If the reverseacls option in imapd.conf(5) is enabled, and the RACL entries in the database are an
              old version or do not exist, they will be generated.  Conversely, if RACL entries do exist in  the
              database, but the reverseacls option is disabled, then the entries will be cleaned up.

       -x,--no-cleanup
              Used with -r to only recover the database, and prevent any cleanup.

       -c,--checkpoint
              Checkpoint and archive (a copy of) the database.

              Changes to the database which are part of the committed transactions are written to disk.

              The archive is created via a hot backup, and inactive log files are removed.

See Also

cyrus.conf(5), imapd.conf(5), master(8)

Synopsis

ctl_cyrusdb [ -Cconfig-file ] -cctl_cyrusdb [ -Cconfig-file ] -r [ -x ]

See Also