How to change the location of the message store and/or configuration


How to change the location of the message store and config direcotry in MailEnable. This may be needed if you need more space, want to move the data to external storage, or similar.


Before changing the location of the message store, review the relevant product manual to gain an understanding of where MailEnable stores data.

  1. Stop all the mail services (including the websites under IIS). This can be done by running the mestop.bat file in the Mail Enable\bin directory.
  2. If you are changing the location of the email data, copy Mail Enable\Postoffices and its subdirectories to the target location. If you are changing the location of the configuration data, copy the Mail Enable\Config directory and subdirectories to the target location.
  3. If copying the directories to an existing MailEnable installation, firstly rename the folders on the target before the copy.
  4. Navigate within the MailEnable Administration console to Messaging Manager. Right click on Messaging Manager and select Properties from the popup menu. In the window within the General tab you can change the location of the configuration or message store. The Configuration Repository should be the location where the Config folder is stored. It should not end in "\config", but should be the path the Config folder is in. By default this is C:\Program Files (x86)\Mail Enable. The Message Store Repository path points to the location where the message store folder is. Your path should end with "\postoffices", and is the actual path to the postoffices folder.
  5. Run the mestart.bat file from the Mail Enable\bin directory. If you are using a version before version 7 navigate to Servers-> localhost->System in the administration program, right click on "Services Status" and select "Start all services". You can also start any websites or IIS that you had stopped in step 1.

Directory permissions should be inherited from the root folder when this was copied to the new location, however, if you encounter permission issues, then you can run the commands below to set correctly (changing the path to match your new location):

icacls.exe "C:\Program Files (x86)\Mail Enable\Postoffices" /grant:r IME_ADMIN:(OI)(CI)F /T /grant:r IME_STORE_GROUP:(OI)(CI)F /T

icacls.exe "C:\Program Files (x86)\Mail Enable\Config" /grant:r IME_ADMIN:(OI)(CI)F /T /grant:r IME_SYSTEM:(OI)(CI)F /T


Product:MailEnable (All Versions)
Class:HOWTO: Product Instructions
Created:18/06/2003 12:46:00 AM
Revised:Monday, November 7, 2022