Changing platforms

Hello,

Thank you for your response.

In order to proceed with the migration our recommendation is as follows:

  • stop the Axigen server on both the Windows and the Docker service

  • edit the Docker axigen.cfg file and replace:

    domainStorageParams = (
        {
            domainName = "s.net"
            domainStorageLocation = "/var/opt/axigen/domains/s.net"
            domainObjectStorageLocation = "/var/opt/axigen/domains/s.net/objects"
            messageStorageLocations = (
                "/var/opt/axigen/domains/s.net/messages"
            )

            enable = yes
            enableMACLSupport = yes
            activationLevel = 100
            activateWithoutParent = no
        }
    )

with:

    domainStorageParams = (
        {
            domainName = "p1.co.uk"
            domainStorageLocation = "/var/opt/axigen/domains/p1.co.uk?maxFiles=128&maxFileSize=1048576"
            domainObjectStorageLocation = "/var/opt/axigen/domains/p1.co.uk/objects?maxFiles=128&maxFileSize=1048576"
            messageStorageLocations = (
                "/var/opt/axigen/domains/p1.co.uk/messages?maxFiles=128&maxFileSize=1048576"
            )

            enable = yes
            enableMACLSupport = yes
            activationLevel = 100
            activateWithoutParent = no
        }
        {
            domainName = "p2.co.uk"
            domainStorageLocation = "/var/opt/axigen/domains/p2.co.uk?maxFiles=128&maxFileSize=2097152"
            domainObjectStorageLocation = "/var/opt/axigen/domains/p2.co.uk/objects?maxFiles=128&maxFileSize=2097152"
            messageStorageLocations = (
                "/var/opt/axigen/domains/p2.co.uk/messages?maxFiles=128&maxFileSize=2097152"
            )

            enable = yes
            enableMACLSupport = yes
            activationLevel = 100
            activateWithoutParent = no
        }
        {
            domainName = "s.net"
            domainStorageLocation = "/var/opt/axigen/domains/s.net?maxFiles=128&maxFileSize=2097152"
            domainObjectStorageLocation = "/var/opt/axigen/domains/s.net/objects?maxFiles=128&maxFileSize=2097152"
            messageStorageLocations = (
                "/var/opt/axigen/domains/s.net/messages?maxFiles=128&maxFileSize=2097152"
            )

            enable = yes
            enableMACLSupport = yes
            activationLevel = 100
            activateWithoutParent = no
        }
    )
  • delete all the data inside the directory /var/opt/axigen/domains

  • copy all the data from the Windows server’s directory D:\Axigen Mail Server\domains\ to the Docker directory /var/opt/axigen/domains/

  • correct the ownership of the copied files to the ‘axigen’ user and group

  • start Axigen

Also do note that our recommendation is to update your Axigen service on Docker to the latest patches as described on:

Best regards,
Razvan