This commit is contained in:
Zhang Huangbin 2016-01-07 12:55:11 +08:00
parent 14474939b1
commit 8b0abeb20b
3 changed files with 28 additions and 8 deletions

View File

@ -112,11 +112,18 @@ structure related changes. Check [upgrade tutorials for iRedMail](./iredmail.rel
## Migrate mailboxes (Maildir format)
* Copy all mailboxes (in Maildir format) to new iRedMail server with tools like `rsync`.
* Set correct file owner of mailboxes. Default owner is `vmail`, group is `vmail`.
* Set correct file permission of mailboxes. Default is `0700`.
* Set correct file owner and permission of mailboxes. Default owner is `vmail`,
group is `vmail`, permission is `0700`.
> WARNING:
>
> * please make sure maildir path stored in SQL/LDAP matches the mailbox
> path on file system, so that mail clients can find imported emails.
>
> * After migrated mailboxes, you may want to recalculate mailbox quota by
> following our tutorial:
> [Force Dovecot to recalculate mailbox quota](./recalculate.mailbox.quota.html)
WARNING: please make sure maildir path stored in SQL/LDAP matches the mailbox
path on file system, so that mail clients can find imported emails.
* With SQL backends, you can get full maildir path of user with below SQL command:

View File

@ -308,3 +308,4 @@ th { font-style: bold; text-align: left; }
/*
code.bash { background-color: green; color: white; }
*/
pre { margin-left: 30px; }

View File

@ -128,11 +128,23 @@ structure related changes. Check <a href="./iredmail.releases.html">upgrade tuto
<h2 id="migrate-mailboxes-maildir-format">Migrate mailboxes (Maildir format)</h2>
<ul>
<li>Copy all mailboxes (in Maildir format) to new iRedMail server with tools like <code>rsync</code>.</li>
<li>Set correct file owner of mailboxes. Default owner is <code>vmail</code>, group is <code>vmail</code>.</li>
<li>Set correct file permission of mailboxes. Default is <code>0700</code>.</li>
<li>Set correct file owner and permission of mailboxes. Default owner is <code>vmail</code>,
group is <code>vmail</code>, permission is <code>0700</code>.</li>
</ul>
<p>WARNING: please make sure maildir path stored in SQL/LDAP matches the mailbox
path on file system, so that mail clients can find imported emails.</p>
<blockquote>
<p>WARNING:</p>
<ul>
<li>
<p>please make sure maildir path stored in SQL/LDAP matches the mailbox
path on file system, so that mail clients can find imported emails.</p>
</li>
<li>
<p>After migrated mailboxes, you may want to recalculate mailbox quota by
following our tutorial:
<a href="./recalculate.mailbox.quota.html">Force Dovecot to recalculate mailbox quota</a></p>
</li>
</ul>
</blockquote>
<ul>
<li>With SQL backends, you can get full maildir path of user with below SQL command:</li>
</ul>