Changing platforms

I’m currently running Axigen on a Windows server. Over the next few months I plan to remove that server completely and move away from Windows too. I have installed the Axigen Docker container on a Synology NAS. I’ve looked at the config file on the Windows installation and I’ve created a version of it with all the paths changed to match the Docker installation. Is it feasible to copy over the data structure from Windows to the NAS and put the edited config file in place to perform a full migration, including all current settings?

Hello,

In order to further investigate this, please mention the Axigen version you currently use on you Windows machine and also, attach to your response your current Axigen configuration file from your Windows machine available by default at: C:\Program Files\Axigen Mail Server\run\axigen.cfg and the axigen.cfg from your new Docker.

Please know that, based on the fact that this are sensitive information, we will make sure to delete them from here as soon as we download them.

Thank you.
Best regards,
Razvan

I’m currently running 10.3.3.50 on Windows 2019 server. The docker install is currently at 10.3.3.1 and not configured past the defaults so far. Files requested attached.

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

Hi Razvan,

Thank you for the information. It may be a month or so before I take the plunge, but this will help with the process.

Would it be possible for you to edit the above post to replace the three domain names with domain1, domain2 & domain3, as I’d like to protect my domains from spam and spoofing but still keep the information valid for other users to get the idea from?