Topic: Domain name changed
- iRedMail version (check /etc/iredmail-release): 0.98
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
What will be the easiest procedure to change domain name. So, basically I would like that user1@old_domain.com starts to use new email address user1@new_domain.com. I have about 20 users on that domain.
I recently installed new 0.98 server, and migrate all data (mostly manually) from previous one. Migration went well, so I am thinking about similar procedure now. But if there is easier way, please let me know. I also have SOGO. Old domain mail addresses should be still active for some time.
Create new domain via iRedAdmin
Configure DNS for new domain properly (mx, dkim, spf, etc...)
Create same mailbox users for new domain via iRedAdmin, including postmaster (I know passwords for all users)
Move vmail data from old to new domain, taking into account that new mailbox paths will be different, due to new timestamp. New paths can be found in vmail database
Login to roundcube with old and new account, and manually adjust configuration to match old one, and also export/import roundcube address book, if any. Repeat this for each user.
Login to sogo with old and new account, export/import sogo address book and calendar events/meetings. Repeat this for each user.
Delete old accounts and old domain via iRedAdmin (This was primary domain, hope this can be done)
Create domain alias in vmail database, so incoming mails for recipient on old domain can be "routed" to the new domain users
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.