Kerio Connect 迁移教程
How do I move Kerio MailServer from one machine to another (or change Operating Systems)?
SolutionNote:
This article also covers how to change operating systems for Kerio MailServer.
Answer:
The files that you need to keep or export are mailserver.cfg, users.cfg, license.key, and the Store folder. These files will contain your email messages, mailserver configurations, license information, and user accounts stored on the server.
By default the files you need are located here:
简单翻译一下
需要备份导出 mailserver.cfg, users.cfg, license.key, 和Store文件夹,这些文件包含了你的用户配置、mailserver配置、邮件信息。
- Mac OSX: /usr/local/kerio/mailserver/
- Red Hat/SuSE: /opt/kerio/mailserver/
- Windows: C:\Program Files\Kerio\MailServer\
Do the following to move Kerio MailServer from one computer to another:
- Make sure all proper MX records, IP addresses and other network details are correctly set for the new machine.
调整你的dns,mx纪录,ip地址 指向新的mailserver。
- Install KMS on the new machine.
在其他操作系统上安装新的kerio mailser server。
- Shut down KMS on old machine.
在原有系统上关闭旧的kms。
- Stop the new Kerio MailServer process on the new machine.
停止新系统上的kerio mailserver 。
- Copy and overwrite the mailserver.cfg, users.cfg, and the Store folder from the old machine to the new machine.
把mailserver.cfg, users.cfg, Store 文件夹从原有系统复制到新的系统上。
Note:
It is recommend that you first compress the Store folder, move it to the new machine and uncompress it into the correct location. This will reduce any issues that may occur with file permissions and data corruption when copying the files over the network.
建议把store目录压缩一下再复制。
To do this you will need to:
下面是压缩解压缩操作,不再翻译
- Compress the store folder with a cross-platform compression option. gzip is the recommended compression standard to use, which is available from the command line on both Linux and Mac OS X. If using Windows, WinRAR can be used which is a free utility.
- Move the file from the original machine to the new machine.
- Uncompress the file into the MailServer directory.
- You will need to regenerate your license.key file when moving from one operating system to another. To do this visit our license registration page and regenerate a new license.key file. Then copy this to the license folder on the new machine. You will also need to do the following additional steps:
- Move over your sslcert folder if you did perviously create or import an SSL certificate.
- Delete the contents of the folder "/Store/SpamAssassin/Bayes."
- If the Store, Archive, Backup or Logs folders will be located on a different hard drive or folder then you will need to edit the mailserver.cfg file. To do that, use a text editor (e.g. Notepad) to update the directory path for the following items to their correct location on the new computer:
/usr/local/kerio/mailserver/store /usr/local/kerio/mailserver/store/archive /usr/local/kerio/mailserver/store/backup /usr/local/kerio/mailserver/store/logs/
重新激活授权问题和修改路径(如果你的store、archive、backup、logs 不是默认目录,用记事本修改mailserver.cfg)
- Start the Kerio MailServer.
启动kerio mailserver
- Verify mail can be read, sent and recieved. Verify any other functions needed.
该干啥干啥吧