Mention how to migrate amavisd/iredapd/iredadmin databases, and recalculate mailbox quota after migration.

This commit is contained in:
Zhang Huangbin 2016-05-06 10:11:31 +08:00
parent 76cd29005d
commit 47cb68d073
2 changed files with 26 additions and 4 deletions

View File

@ -148,8 +148,14 @@ $ ldapsearch -x -D 'cn=Manager,dc=xx,dc=xx' -b 'o=domains,dc=xx,dc=xx' -W "(mail
## Migrate Roundcube webmail data
* Export/import roundcube webmail database, and upgrade database to work with new version of Roundcube.
<http://trac.roundcube.net/wiki/Howto_Upgrade>
* Export/import roundcube webmail database, and upgrade database to work with
new version of Roundcube.
Reference: <http://trac.roundcube.net/wiki/Howto_Upgrade>
## Migrate Amavisd, iRedAPD, iRedAdmin databases
Export those database on old server, then import them on new server.
## Migrate DKIM keys
@ -161,6 +167,12 @@ permission `0600`.
If you prefer generating new DKIM keys on new server, don't forget to update
DNS records for mail domain names.
## Post-migration
After migration, please recalculate mailbox quota by following this tutorial:
* [Force Dovecot to recalculate mailbox quota](./recalculate.mailbox.quota.html)
# References
* [Password hashes](./password.hashes.html)

View File

@ -23,7 +23,9 @@
<li><a href="#mysqlpostgresql-migrate-mail-accounts">MySQL/PostgreSQL: Migrate mail accounts</a></li>
<li><a href="#migrate-mailboxes-maildir-format">Migrate mailboxes (Maildir format)</a></li>
<li><a href="#migrate-roundcube-webmail-data">Migrate Roundcube webmail data</a></li>
<li><a href="#migrate-amavisd-iredapd-iredadmin-databases">Migrate Amavisd, iRedAPD, iRedAdmin databases</a></li>
<li><a href="#migrate-dkim-keys">Migrate DKIM keys</a></li>
<li><a href="#post-migration">Post-migration</a></li>
</ul>
</li>
<li><a href="#references">References</a></li>
@ -175,9 +177,12 @@ mysql&gt; SELECT CONCAT(storagebasedirectory, '/', storagenode, '/', maildir) FR
<h2 id="migrate-roundcube-webmail-data">Migrate Roundcube webmail data</h2>
<ul>
<li>Export/import roundcube webmail database, and upgrade database to work with new version of Roundcube.
<a href="http://trac.roundcube.net/wiki/Howto_Upgrade">http://trac.roundcube.net/wiki/Howto_Upgrade</a></li>
<li>Export/import roundcube webmail database, and upgrade database to work with
new version of Roundcube.</li>
</ul>
<p>Reference: <a href="http://trac.roundcube.net/wiki/Howto_Upgrade">http://trac.roundcube.net/wiki/Howto_Upgrade</a></p>
<h2 id="migrate-amavisd-iredapd-iredadmin-databases">Migrate Amavisd, iRedAPD, iRedAdmin databases</h2>
<p>Export those database on old server, then import them on new server.</p>
<h2 id="migrate-dkim-keys">Migrate DKIM keys</h2>
<p>Amavisd will read DKIM keys and sign outgoing emails. DKIM keys are stored
under <code>/var/lib/dkim</code> by default, you can copy all keys under this directory to
@ -185,6 +190,11 @@ new server, and make sure they have correct file owner <code>amavis:amavis</code
permission <code>0600</code>.</p>
<p>If you prefer generating new DKIM keys on new server, don't forget to update
DNS records for mail domain names.</p>
<h2 id="post-migration">Post-migration</h2>
<p>After migration, please recalculate mailbox quota by following this tutorial:</p>
<ul>
<li><a href="./recalculate.mailbox.quota.html">Force Dovecot to recalculate mailbox quota</a></li>
</ul>
<h1 id="references">References</h1>
<ul>
<li><a href="./password.hashes.html">Password hashes</a></li>