Moving MailEnable to a new server

image001

MailEnable is a mail system with a lot of goodies. It happens that you need to move it to another server for different reasons. The first thing to know: the Enterprise license is issued/bought according to the number of CPU cores on the server. Which means you have to buy or extend the license if the source and the target servers have a different number of cores.

Before starting the migration you need to install MailEnable on the new server. Make sure the versions match.

Once the licenses are sorted out you can start the process itself. MailEnable keeps its garbage in several places:

  • the system registry;

  • the program folder.

The migration process is about copying all that garbage from one server to another.

  1. Export the data from the registry:
  2. Open regedit as administrator
  3. For the 32-bit version of the system go to HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable
  4. For the 64-bit system: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mail Enable
  5. Use the File menu to export the content of the Mail Enable branch into a file with the reg extension.
  6. Do the same on the new server just in case.
  7. On the new server stop all the MailEnable services and copy the following folders:
    • C:\Program Files\Mail Enable\Dictionaries (Optional - used in Professional and Enterprise)
    • C:\Program Files\Mail Enable\Config (Mandatory - holds the settings and other configuration information)
    • C:\Program Files\Mail Enable\Postoffices (Mandatory - holds the postoffices and the messages)
    • C:\Program Files\Mail Enable\Bad Mail (Optional - holds the mail marked as spam)
    • C:\Program Files\Mail Enable\Logging (Optional - holds the logs)
    • C:\Program Files\Mail Enable\Queues (Optional - holds the delivery queue)

If MailEnable uses a database, then it has to be moved as well:

  1. Back up the database on the old server.
  2. Move and restore the database on the new server.
  3. Run the migration tool and point MailEnable to the new database.

Once all the files are moved you need to set the correct permissions on them:

CACLS "C:\Program Files\Mail Enable\Config" /t /e /g IME_ADMIN:F
CACLS "C:\Program Files\Mail Enable\Queues" /t /e /g IME_ADMIN:F
CACLS "C:\Program Files\Mail Enable\Postoffices" /t /e /g IME_ADMIN:F
CACLS "C:\Program Files\Mail Enable\Queues" /t /e /g IME_SYSTEM:F
CACLS "C:\Program Files\Mail Enable\Logging" /t /e /g IME_SYSTEM:F
CACLS "C:\Program Files\Mail Enable\Bad Mail" /t /e /g IME_SYSTEM:F
CACLS "C:\Program Files\Mail Enable\Backup" /t /e /g IME_SYSTEM:F
CACLS "C:\Program Files\Mail Enable\Bin" /t /e /g IME_SYSTEM:R
CACLS "C:\Program Files\Mail Enable\Config" /t /e /g IME_SYSTEM:F
CACLS "C:\Program Files\Mail Enable\Post Offices" /t /e /g IME_STORE_GROUP:F

Then start all the MailEnable services and go change the DNS MX records for the domain.

While the changes are propagating you can periodically copy the files from the old server to the new one.

The approximate location is C:\Program Files\Mail Enable\Queues\SMTP\Inbound

Categories:

Updated: