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...")
 
 
(5 intermediate revisions by the same user not shown)
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 following command to create a symbolic directory link:  
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, when you go back into the ''C:\ProgramData\MailStore'' directory, you will now see a shortcut, which can be used to verify that the move process completed successfully.
  
* 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.
+
: [[File:MailStore_Gateway_Symbolic_link.png|center|350px]]
  
 +
* Restart the Gateway service by returning to the MailStore Gateway Config Tool and clicking ''Start Service''.
  
: [[File:MailStore Gateway Symbolic link.png|center|350px]]
+
[[de:Ändern_des_Speicherorts]]
 +
[[en:Change_Mailbox_Folder_location]]

Latest revision as of 12:31, 15 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 following command to create a symbolic directory link:
mklink /D Gateway D:\Gateway
MailStore Gateway Command Prompt.png
  • After the command is ran successfully, when you go back into the C:\ProgramData\MailStore directory, you will now see a shortcut, which can be used to verify that the move process completed successfully.
MailStore Gateway Symbolic link.png
  • Restart the Gateway service by returning to the MailStore Gateway Config Tool and clicking Start Service.