Cyrus IMAP

From V.S.V., Inc.
Jump to: navigation, search

Cyrus-imap version

Change to the cyrus user

# su - cyrus

Login to the admintration tool

$ cyradm --user cyrus-admin localhost
Password:

Get the version

localhost> ver
name       : Cyrus IMAPD
version    : git2.5+0-Kolab-2.5-108.1.el6.kolab_3.4
vendor     : Project Cyrus
support-url: http://www.cyrusimap.org
os         : Linux
os-version : 2.6.32-504.16.2.el6.x86_64
environment: Built w/Cyrus SASL 2.1.23
             Running w/Cyrus SASL 2.1.23
             Built w/OpenSSL 1.0.1e-fips 11 Feb 2013
             Running w/OpenSSL 1.0.1e-fips 11 Feb 2013
             Built w/zlib 1.2.3
             Running w/zlib 1.2.3
             CMU Sieve 2.4
             TCP Wrappers
             NET-SNMP
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             idle = idled

Recovering the Cyrus Admin password

You can't recover the password as such. What you can do is reset it. To do that login to your IMAPD server as root and run:

saslpasswd2 cyrus-admin

Recovering a corrupt mailbox

Change to the cyrus user.

$ sudo su - cyrus

Change to the directory about the corrupt database. For example if the mailbox is bshaw@vsvinc.com you would go to:

$ cd /var/spool/imap/domain/v/vsvinc.com/b

Then rebuild the mailbox

$ /usr/lib/cyrus-imapd/reconstruct -r -f -U user/bshaw@vsvinc.com

This is very extreme and may result in all your mail appearing in both the inbox and any sub folders you previously saved the message in.

Return to: Main