Page 1 of 1

Steps to change the server

Posted: 2019-08-07 13:31
by ucevista
Hi all.

I need to change the hmailserver to a new machine and I made a test doing all as described here: https://www.hmailserver.com/documentati ... _newserver. In resumen:

1- Check requirements on new server and install same version of hmailserver and MySQL (in my case) and configure all to have access to the database (dll and so)
2- Stop old server, copy the Data folder (C:\Program Files (x86)\hmailserver\data) to the exact same location on new server (FTP'd and copied)
3- mysqldump hmailserver database and restore on new server
4- redirect ports and DNS (on my case for testing purposes I made a mail2.domain.com registry pointing to my new server)

And here are the doubts:

- With my account configured in Outlook and changing the mail server (from mail.domain.com to mail2.domain.com) Outlook connects to the server bu there are no new messages (in first instance it is logic, those messages are read)

- Configuring from zero the account pointing to the new server I can download all messages.

Then, if I do this I'll receive new messages (changing the DNS registry for the correct one of course) then I'll be able to receive the new message, I'ts ok?

Thanks for yours answers.

Re: Steps to change the server

Posted: 2019-08-07 14:01
by mattg
Yes, what you've said kind of makes sense
Do you connect with POP3 or IMAP?


I've been meaning to update that page for a few weeks.

Easiest way
Backup using builtin backup tools with all options selected (including compression)
install same version on new machine
copy back up to new machine
Restore to new machine