How to Add an Extra Message Storage

This article describes how to add an extra storage when the maximum capacity of the existing storage was reached.

Solution

When the maximum capacity of the existing storage(s) was reached an extra message storage must be added.

An extra storage is necessary when the size of the folder containing the specific domain data reaches 32GB. Also, messages such as "Unable to write data"  or "Unable to open message container" can be found in the Axigen log file.

NOTE:
 "unable to write data" messages are encountered also, when there is no free disk space left on the partition where the Axigen storage is mounted on.


More details regarding the Axigen storage can be found in our online documentation by referring to the Storage Chapter.

Please note that additional message storage is added and should be added via Webadmin when defining a domain.

However, certain scenarios require adding a new message storage. In order to do so you should manually edit the Axigen configuration file: axigen.cfg.
Please find bellow the steps to follow in order to accomplish this:
  • Stop Axigen Mail Server
  • Open axigen.cfg and find the section referring to the domain's definition. (in the example bellow the definition is for the domain named example.org)
{
domainStorageLocation = "/var/opt/axigen/domains/example.org"
domainObjectStorageLocation = "/var/opt/axigen/domains/example.org/objects"
messageStorageLocations = (
"/var/opt/axigen/domains/example.org/messages"
)
enableMACLSupport = yes
activationLevel = 100
activateWithoutParent = no
}

  • in order to add a new message storage add a new line defining the path to the new message storage location. The line should be under the definition of the original message storage location:
messageStorageLocations = (
"/var/opt/axigen/domains/example.org/messages"
"/var/opt/axigen/domains/example.org/messages1"
)


  •  Save the file and Start Axigen Mail server
OS: LinuxWindowsFreeBSDOpenBSDNetBSDSolaris
Distros: WindowsDEB based distros amd64FreeBSD 7.x