Hey all, I've been using the ispconfig main server for several clients in the beginning, though only for mailbox storage. Web and the other services are hosted elsewhere. I recently started to get more customers, and created an new slave server just for mailbox storage and configured the master server to have a proxy in front. That way customers always only use my defined mail domain for all mailboxes. the proxy than forwards the authentication + mailbox request to the correct backend. With this I would like to move my old mailboxes (and users) to the newer mailbox server, and downgrade my main server to cut in the costs. Is there an easy way to do this?
To my knowledge ISPConfig has no functionality to move mailboxes from server to server. I know of no better way to do what you want than to create new users on that other mail server, and copy the contents of mailboxes there.
There is no such function yet, what you can do is: 1) Edit the server_id of the records in the mail_* and spamfilter_* tables that you want to move to the new server and set them to the server_id of the new server. 2) Run Tools > resync to get the mailboxes created. 3) Copy over the /var/vmail/domain.tld folder(s) of the domains that you want to move to the new system.
the resync option was one i completely overlooked, thanks for that pointer! changing the server id's is way easier than moving mysql data across manually ;-)
I created a guide here: https://www.howtoforge.com/community/threads/how-to-mail-server-migration.81522/