Professional Documents
Culture Documents
Merak Mail Server Migration Tool
Merak Mail Server Migration Tool
Copyright Notice
Copyright 2002 IceWarp Software. All rights reserved. Windows 2K, XP, NT, 9x, ME are registered trademarks of Microsoft Corp. All other trademarks are owned by their respective companies.
Disclaimer
The software is provided as is without warranty of any kind. To the maximum extent permitted by applicable law, we further disclaim all warranties, including without limitation any implied warranties of merchantability, fitness for a particular purpose, and non-infringement. The entire risk arising out of the use or performance of the product and documentation remains with the recipient. To the maximum extent permitted by applicable law, in no event shall we be liable for any consequential, incidental, direct, indirect, special, punitive or other damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of this agreement of the use of or inability to use the product, even if the author of the product has been advised of the possibility of such damages.
License Agreement
You should carefully read the following terms and conditions before using this software. YOUR USE OF THIS SOFTWARE INDICATES YOUR ACCEPTANCE OF THIS LICENSE AGREEMENT AND WARRANTY.
Overview
The biggest challenge and problem for sysadmins today when going to a new mail server is to figure out a way to painlessly and carefully move all the mail and users from the old server to the new server. The classical approach to this problem was to simply use some sort of custom program to extract the data directly from the old servers user database and then import the mail and users, either directly by moving them physically from one machine to another, or through some kind of POP import program. The problem with this approach is that you always need a custom program for each type of mail server on the market to extract the mail and users. However most of the mail server systems never give away plain text passwords and list of mailboxes and domains so the new server cannot use them and the whole process is unusable. So, how do we get around this problem? IceWarp made this problem the past. The answer is Merak Mail Server Migration Tool. The Merak Mail Server Mail Migrator uses a smart proxy approach by gleaning all user and mail information not from the original database, but from the information that comes from the user directly by acting as a POP3 proxy. Since the username and password provided by the user arrives in plain text, it is possible for the migrator to use that to build the mailboxes on the new server and to pull the mail off the old server as well. You basically stick the Merak Mail Server Migrator Tool between your customers and your old mail server and the migrator takes care of the rest. All of the messages on the old mail server will not be deleted and will be left on the server.
Contact Us
Please do not hesitate to contact us with your suggestions for new features. To see the latest Price List, or Purchase the Products, please visit the website or send us e-mail at: E-Mail Support Website Fax info@icewarp.com support@icewarp.com http://www.icewarp.com/ +1(240)5254912
Requirements
In order to use Merak Mail Server Migrator Tool you need a computer with the following specifications : Windows 2K, XP, NT, 9x, ME (all versions) for Intel based platforms. Network environment using TCP/IP Protocol.
Introduction
Before actually going through the migration process, you must first prepare the system to be ready for the migration. Lets say your old mail server handles mail for a domain called foo.com. Users access the mail server via a host name called mail.foo.com. They use that address in their POP3 and SMTP settings of their mail client. Now, you modify your DNS records so that the migrator machine becomes the new mail.foo.com and create a new A DNS record called oldmail.foo.com that points at the original mail server (POP3). You have to make sure that MX records for domain "foo.com" point at host name "mail.foo.com". Use the DNS Query tool for checking that. So far so good.
How It Works
There are certain rules and principles the migration follows. There are several steps the a migration process takes and it would be wise if you understand them. 1. A user attempts a POP3 access on the new migration machine (you moved mail.foo.com to point at the new server). 2. Merak Mail Server Migrator intercepts the request. If the user already exists in Merak we simply process the POP3 request normally, otherwise we check the existence of the POP3 user on the old mail server by using the same username and password we received. If the authentication is successful we send an information message to the user that his or her mailbox is temporarily unavailable but will be transferred shortly. If not the login attempt fails. 3. At this point, we have captured the users POP3 account name and password. Migrator queues the entry for processing. 4. The migrator goes through its processing queue and when it arrives at our users entry, it sends a POP3 request to the old mail server to retrieve the users email messages. This is done as a background process. You can see all the traffic in the POP3 logs on Merak.
Merak Mail Server Migration Tool (Apr 2002) 5. Once the POP3 messages have been retrieved for the POP3 mailbox we look into all of the messages to see the aliases and domain of the recipient there. A similar approach is done in the Remote Accounts Domain POP feature. We simply have to find all aliases and domain for this mailbox. When done we create the mailbox and it's aliases and store all received messages there. A validate recipient is considered if there is only one recipient in the message and if the domain is one of those listed in Merak. 6. At this point, the mailbox now exists in Merak. When new mail is received for this user, well keep the mail locally in Merak instead of forwarding it to the old server. 7. There might be some message traffic during the migration process where Merak will forward all messages to the old mail server and while the old messages are being retrieved the new ones currently being sent will not be retrieved. For this reason when the whole migration process is done you have to use the Finish Migration feature. That feature will once again search through all of the mailboxes and will look for new messages. If there are some new it will retrieve it. If a new message is received by the migration Merak, we first check to see if the account exists. If it exists, we store the mail locally since the message will be popped locally (the mailbox has already been transferred). On the other hand, if the mailbox does not exist, we simply forward the message to the old server.
Configuration
Setting up the migrator is a simple process but you need to follow these steps exactly. 1. Specify the domains you will be migrating 2. Create the migrator mailbox & information email 3. Configure the Merak Mail Server Migration Tool 4. Change the DNS settings 5. Activate the migration process 6. Stop and finish the migration process 7. Change back the Merak Backup domains to Standard domains
Now send your information email to account migrate@foo.com. The DNS records to foo.com domain still point at the old mail server so you should specify the outgoing mail server to be the new Merak so the message gets delivered locally only or find out a different solution. The message might look something like this: Dear User, We are in the process of transferring mail from an older mail server to a new mail server. Your mailbox is being moved to the new server. Your mail is currently unavailable although it should be transferred in the next few minutes. Please try again later. We apologize for the inconvenience. If you have any questions, feel free to contact us. Email: support@foo.com, The Foo Support Team. Now you should lock the migrator account so it does not receive any more email. To do this select the foo@icewarp.com properties, Options tab and set the User State to Disabled (Login, Receive).
Multi Domain Migration - Use this option only with care. It enables the multi domain migration where you can migrate more domains at once. This feature however requires certain rules. Every domain to be migrated requires a virtual IP binding. This is done by the Virtual IP Binding button on the domain property in Merak. All domains must have a unique IP set. Now all your email
Merak Mail Server Migration Tool (Apr 2002) login attempts must come directly to the correct I. The migration will then exactly know the domain name the new account belongs to and will create it in that particular domain. Example: 2 domains to be migrated. foo1.com - IP Binding - 192.168.0.1 foo2.com - IP Binding - 192.168.0.2 The actual Backup Domain settings can be set to the same mail server. The incoming mail server still has to be the only one. Now for your foo1.com users you give them an incoming mail server host name that points to 192.168.0.1. It can be mail.foo1.com. foo2.com will get also a host name mail.foo2.com that points to 192.168.0.2. By this you should be all set. Now when somebody connects to server to either of those IPs Merak already knows what domain the account belongs to thus it will migrate all users to proper domains. The advantage of this feature is that it does not require that you previously had IP bindings on the old mail server.
Now you need to Finish the Migration as discussed before. Select the Migration Tab and click the Finish Migration button.
If the migration process was not finished yet you will be notified and asked to try later. Once the Migration Finishing has been started it can take some time to check all of the old mailboxes again. To check the status of the migration finishing press the button again.
10
Merak Mail Server Migration Tool (Apr 2002) 3. Select the Standard Domain type for all domains you migrated. 4. Click Save
During the migration process you can perform additional migration actions. These are Migrate Messages and Migrate Accounts. Migrate Accounts & Messages This feature lets you migrate accounts just like if an ordinary user logs in to your POP3 server having the migration mode active. In fact the migrator logs in to local POP3 so the process of migrating is exactly the same as for standard migrated users. Again you can migrate a single user using the user name and password or you can use the bulk user file which has the following format. Example: user1:pass1 user2:pass2 With this feature you can easily test the whole migration process. Migrate Messages This feature assumes the mailboxes have been already created on Merak and the only thing you need to do is to retrieve messages from the old mail server to already created mailboxes. You have the option to migrate messages of a single user only or a bulk user file. Using the sigle user you need to specify the user name and password on the remote server and domain of the account on Merak to send messages to. The domain can also contain a complete email address if username differs from alias of the account. Bulk user file is a text file containing usernames, passwords and domains each on one line. Using theis feature you can easily migrate messages of many users at once. The format of the file is following. Example: user1:pass1:domain 11
Merak Mail Server Migration Tool (Apr 2002) user2:pass2:alias@domain The same logic as for single user applies except the separator is colon.
12