Postfix Cyrus Web cyradm HOWTO
Update is critical and can mean
complete data loss
Please test this procedure on a test/pre production server first.
Also have close look to
install upgrade.html
that comes
with the cyrus imapd distribution. Please note, that you shoud
plan a downtime for the production server to have the time to
solve problems. Also note, that nobody I cannot take
responsibility for the update procedure provided here
Cyrus changed the format of the dbd databases used for internal storage of
mailboxlist flags etc.
A convert script comes with the distribution. The most important database is
/var/imap/mailboxes.db
. Without that database cyrus imapd will NOT run.
This requires a backup. Lets do a dump and a backup of the database.
/etc/init.d/cyrus stop # be sure no cyrus process is running
lsof /var/imap/mailboxes.db # be sure NO process is accessing the mailbox file
su cyrus
/usr/cyrus/bin/ctl_mboxlist d > /tmp/mailbox.db.dump
cp /var/imap/mailboxes.db /var/imap/mailboxes.db.old
Convert the
/var/imap/mailboxes.db
/usr/cyrus/bin/cvt_cyrusdb /var/imap/mailboxes.db berkeley /var/imap/mailboxes.db.new skiplist
mv /var/imap/mailboxes.db.new /var/imap/mailboxes.db
Convert all the seen databases:
find /var/imap/user name \*.seen exec /usr/cyrus/bin/cvt_cyrusdb \{\} flat \{\}.new skiplist \; exec mv \{\}.new \{\} \;
Converting the sieve scripts
/usr/local/cyrus imapd 2.2.3/tools/masssievec /usr/cyrus/bin/sievec
16
MySQL Web Hosting Postfix-Cyrus-Web-cyradm MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |