Is it possible to migrate all of the mailboxes and e-mails in them from one server to another? Both servers are Ubuntu and ISPConfig 3 positive ;-)
You can migrate mail boxes with imapsync: http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync
Thank you very much but this tool just migrates e-mails from one mailbox to the second and I need also migrate full list of mailboxes to the second server (talking about 3000 mailboxes). I can use SOAP and PHP to create all mailboxes which were on the first server but there is a problem with passwords because they are hashed in the ISPConfig database on the first server. Any idea? Thanks
Is the second server empty? if yes, export all records in the mail_* tables on the old ispconfig server e.g. with phpmyadmin and import them on the new server. Then copy all files and folders in /var/vmail to the new server.
In case those tables are not empty you can do like i did. I made a script that would read all emails from one place, then used the remote API to add all emails to the new platform (i added a 1 sec delay just to make it safe). Once they were all created, i moved all files from one server to the other and right after i gave them vmail:vmail ownership. It worked great for me, the old platform was not ISPconfig based, but both were using squirrelmail.