Move a Domain from one SmarterMail Server to Another

This article applies to recent versions of SmarterMail. View articles for SmarterMail 16.x and earlier.
On occasion, system administrators may need to move a domain from one SmarterMail server to another. This may occur due to hard drive space limitations or because of email volume for the domain.

IMPORTANT NOTE: SmarterMail data should be migrated to a new server that's running the same build number. Do not follow these steps to migrate a SmarterMail 16.x or prior installation to a new server running the current 100.0.xxxx build. If you wish to upgrade along with your domain migration, you must migrate to the server then perform the upgrade, or perform the upgrade on the old server then migrate. 

Follow these steps to move a SmarterMail domain to another server:

  1. Before beginning, make a backup copy of the domains.json file (default install path is C:\Program Files (x86)\SmarterTools\SmarterMail\Service\Settings\) and the domain folder (default install path is C:SmarterMail\Domains\[domain_name]).
  2. Stop the SmarterMail service on both servers.
  3. Move the domain folder from the old server to the new server. The default install path of the domain folder is C:SmarterMail\Domains\[domain_name]).
  4. Edit the domains.json file with Notepad on the old server. The default install path is C:\Program Files (x86)\SmarterTools\SmarterMail\Service\Settings\. 
  5. Locate the entry for the domain. It will be displayed in the following format:
    "domain.com": {
    "data_path": "c:\\SmarterMail\\Domains\\domain.com"
    },
  6. Copy the domain entry from the file and keep it on hand. Then delete the domain entry and save the file.
  7. Make a backup of the domains.json file on the new server.
  8. Edit the domains.json with Notepad on the new server.
  9. Paste the domain entry that was cut from the file on the old server.
  10. Save the file.
  11. Start the SmarterMail service on both servers.
  12. Modify the primary MX record to the new IP. This can take up to 24-48 hours for propagation.
 
Learn more about using SmarterMail for your email accounts and company-wide chat.

Feedback

Add Feedback
How do this for version 8 and older? Where the directory structure of the users mailbox is different?

I believe in version 9 and newer, you guys put the mailboxes under a "mail" directory, e.g. c:\smartermail\domains\abc.com\users\joe\mail.

How do I move the domains from version 8 and older to 9 and above in this case?

ilyas (March 25, 2014 at 12:21 PM)
You can still follow the same steps for older versions. The file structure that were change is below the domain level and when you move a domain that does not have the correct file structure on start up SmarterMail will automatically correct it.
Brian Ward (March 25, 2014 at 12:48 PM)
Well I just did a test of one domain from an older version of SmarterMail to 13.x and while the users moved, the mail and folders do not appear in the web interface. So Brian, I don't think you're correct. Now I'm not sure how I'm supposed to migrate over 500 users and 65 domains.
John Draper (November 5, 2014 at 5:07 PM)
I see Rod did reply back to your community post here: http://portal.smartertools.com/community/a738/migration-issue.aspx
Brian Ward (November 6, 2014 at 9:03 AM)
Hi, my server is running SM v4.3. I'm migrating to SM v12. Is it possible to migrate the domain list and all the domain user accounts? Just the domain and user entries. I don't mind about the email messages. Thanks
Mostafa Helal (December 11, 2014 at 9:08 AM)
Hi Mostafa,

It is possible to migrate just the domain list and user accounts. However, this is a tedious process and it's not one that we recommend. Essentially, you'd have to strip out all of the .grp files and any other files such as calendars, contacts, etc. if you do not want to bring them over with the accounts. Is there a specific reason you only want the list and accounts? If it was just to make the process simpler, it would probably be easier to migrate the user accounts as a whole.

Andrea Rogers (December 11, 2014 at 2:19 PM)
Hi, I have a server with version 13.3 Enterprise containing 300 domains and 2000 users and is 700 GB.
I need to migrate to a larger server but I can migrate only a few domains each night.
The old and the new server will have different IP and different FQDN (for example: mail.domain.com and mail2.domain.com ) .
Can I use my license without problems on both servers simultaneously for 30 days?

Gonzalo Varela Rua (April 11, 2015 at 12:58 AM)
You can! We allow licenses to be on multiple servers for up to 30 days for migration purposes.
Andrea Rogers (April 12, 2015 at 12:08 PM)

Add Feedback