Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Using routes and domain aliases to make for easier migration
PostPosted: 2011-11-08 19:34 
New user
New user

Joined: 2011-10-20 18:11
Posts: 15
Just thought I'd share the method we used for migrating from our old server to hMailserver, it may be useful to some or blindingly obivious to others.

This method meant that we could migrate users at convenient times and have both the old server and hmailserver working in conjuction with each other. It relys on your old mail server supporting routes and domain aliases/

For domain.com migrating from oldserver to hmailserver :

1. Set up all the accounts on hmailserver to mirror accounts on oldserver.

2. Then for each mailbox on hmailserver set a forward to mailboxname@legacy.domain.com

3. Then set a route on hmailserver pointing legacy.domain.com to oldserver's IP.

4. Then add an alias to domain.com on oldserver called legacy.domain.com

5. Change the mx record for the domain.com to point to hmailserver.

6. At this point all mail is delivered to hmailserver and then routed back to oldserver.

7. Add an alias to domain.com on hmailserver called migrate.domain.com

8. Then add a route on oldserver pointing migrate.domain.com to hmailserver.

9. Now you are free to migrate mailboxes and re-configure clients one at a time at any time. As you migrate each user make sure they download all thier mail from oldserver (if using pop3) before reconfiguring the client. Then take the forward off the mailbox on hmailserver and add a forward to the mailbox on oldserver sending any mail to mailboxname@migrate.domain.com. This way non migrated users can email migrated users and vice versa during the transition period.



Note - If using spam protection on either servers make sure to whitelist the other servers IP.

Note - We used Thunderbird to copy IMAP mailbox contents from one server to the other.

Hopefully this will be helpful to someone, and if someone else has posted this and I've missed it please feel free to remove.

Dave

_________________
hMailServer 5.3.3,
Server 2008 R2 Standard
Xeon 2.8ghz
1gb RAM
IIS 7 with Roundcube 0.5.1


Top
 Profile  
 
 Post subject: Re: Using routes and domain aliases to make for easier migra
PostPosted: 2011-11-08 19:39 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
Thanks for the writeup SMD, always helpful.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group