iredmail / iRedMail

Full-featured, open source mail server solution for mainstream Linux/BSD distributions.

Home Page:https://www.iredmail.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] Best way to migrate between old iredmail to new clean iredmail

interduo opened this issue · comments

What is the best way to migrate between old (v0.9.8) to new clean instance?

I would like to save domains+mails+users+sievefilters.

(In-place upgrate through two LTS distro and cleaning old temporary things would be very time consuming)

Thanks for the manual. Could You add how to migrate sieve filters?

  • Global sieve rule is stored under /var/vmail/sieve/.
  • Per-user sieve rules are stored in user's mailbox under /var/vmail/vmail1/<domain>/.../<user>-<timestamp>/sieve/.

So if you copy whole /var/vmail/ directory (exclude backup), these data should be migrated.

@iredmail is there any "crossversion/crossdb" method to iredmail for migrating domain + accounts + mails (this could be done by imapsync or just coping mails by thunderbird)?

Excuse me, I don't understand the question... What does "crossversion/crossdb" method mean?

Crossversion upgrade from 0.9.9 to 1.6.3
Crossdb upgrade from mysql to postgresql

iRedMail Easy[1] and upcoming iRedMail Pro[2] (Maybe rename it to "iRedMail Enterprise") supports cross-version upgrade, Upgrade to latest release with one click on web UI. No plan to implement this in iRedMail (shell) installer due to how it (shell) works.

[1] https://www.iredmail.org/easy.html
[2] https://docs.iredmail.org/pro.html