2 Servers - Move Mail Domain from A to B

Discussion in 'Installation/Configuration' started by defconjuan, Jul 11, 2012.

  1. defconjuan

    defconjuan New Member HowtoForge Supporter

    2 Servers in Multiple Mode - Move Mail Domain from A (master) to B?

    I have two servers in a multi-server setup. Both have mail services enabled. Server A is the master. I want to move a mail domain (including mailboxes and aliases) from A to B (and also B to A).

    This first scenario (A to B) is useful for going from a single to a multi server setup.

    The second, (B to A) would be useful if you wanted to decommission a server and move it's content back to the master.

    Can I? How? I've searched before posting.
     
    Last edited: Jul 11, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

    You can move mailboxes with imapcopy, imapsync, or IMAP TOOLS. I've written tutorials for each of them. :)
     
  3. defconjuan

    defconjuan New Member HowtoForge Supporter

    Thanks, found them:
    http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imap-tools
    http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapcopy
    http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync

    This is useful for the data and account migration, cool. What then happens in ISPConfig? Right now, it shows the mail stored on Server B and the ability to change that is greyed out. I'd imagine just copying mailboxes and accounts would break the master ISPConfig's database no?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You'd have to create the mailboxes again on the other server and then move emails over.
     

Share This Page