Difference between revisions of "Change Mailbox Folder location"

[unchecked revision][unchecked revision]
(Created page with "== Change Mailbox Folder location == * Stop the Gateway service by clicking on the desktop shortcut "MailStore Gateway" and then click "Stop Service" * Move the folder "C:\Pro...")
 
Line 1: Line 1:
== Change Mailbox Folder location ==
+
MailStore Gateway stores its data and configuration files in ''C:\ProgramData\MailStore\Gateway''. To change that location, that folder and all of its content has to be moved to the desired location and a symbolic link has to be created which points to the new location.
* Stop the Gateway service by clicking on the desktop shortcut "MailStore Gateway" and then click "Stop Service"
+
 
* Move the folder "C:\ProgramData\MailStore\Gateway" to your desired location.
+
* Start the MailStore Gateway Config Tool by clicking on the desktop shortcut ''MailStore Gateway''.
 +
* Stop the Gateway service by clicking ''Stop Service''.
 +
* Move the folder ''C:\ProgramData\MailStore\Gateway'' and all of its content to your desired location. We will use ''D:\Gateway'' as an example.
 
* Open an elevated command prompt (cmd).
 
* Open an elevated command prompt (cmd).
* Navigate into "C:\ProgamData\MailStore"
+
* Navigate into ''C:\ProgamData\MailStore''.
 
* Execute the command:  
 
* Execute the command:  
mklink /D Gateway <full_path_where_you_moved_the_folder_to>
+
mklink /D Gateway D:\Gateway
* Restart the Gateway service by clicking on the desktop shortcut "MailStore Gateway" and then click "Start Service"
 
 
 
In our example below, we moved the "Gateway" folder to the "C:\TestDirectory" folder. Remember, you can move the Gateway folder to any local drive on the server.
 
  
 
: [[File:MailStore Gateway Command Prompt.png|center|350px]]
 
: [[File:MailStore Gateway Command Prompt.png|center|350px]]
  
* After the command is ran successfully in the command prompt and the symbollic link is created, when you go back into the "C:\ProgramData\MailStore" directory, you will now see a shortcut which indicates that the move process was completed successfully. Please refer to the picture below.
+
* Restart the Gateway service by returning to the MailStore Gateway Config Tool and clicking ''Start Service''.
 
+
* After the command is ran successfully in the command prompt and the symbollic link is created, when you go back into the "C:\ProgramData\MailStore" directory, you will now see a shortcut which indicates that the move process was completed successfully.
 
+
: [[File:MailStore_Gateway_Symbolic_link.png|center|350px]]
: [[File:MailStore Gateway Symbolic link.png|center|350px]]
 

Revision as of 14:49, 12 April 2024

MailStore Gateway stores its data and configuration files in C:\ProgramData\MailStore\Gateway. To change that location, that folder and all of its content has to be moved to the desired location and a symbolic link has to be created which points to the new location.

  • Start the MailStore Gateway Config Tool by clicking on the desktop shortcut MailStore Gateway.
  • Stop the Gateway service by clicking Stop Service.
  • Move the folder C:\ProgramData\MailStore\Gateway and all of its content to your desired location. We will use D:\Gateway as an example.
  • Open an elevated command prompt (cmd).
  • Navigate into C:\ProgamData\MailStore.
  • Execute the command:
mklink /D Gateway D:\Gateway
MailStore Gateway Command Prompt.png
  • Restart the Gateway service by returning to the MailStore Gateway Config Tool and clicking Start Service.
  • After the command is ran successfully in the command prompt and the symbollic link is created, when you go back into the "C:\ProgramData\MailStore" directory, you will now see a shortcut which indicates that the move process was completed successfully.
MailStore Gateway Symbolic link.png