1010

Prevent POP3 clients from re-downloading mail after server migration

Using RoboCopy, this article details copying the users folder from one drive to another without changing modified dates. This is useful to avoid POP3 mail clients from re-downloading mail after a server migration.  Once everything is copied and you have verified everything is correct, then you may remove old folders.

To begin, download and install the RoboCopy GUI for Windows 

This will copy the users folder from one drive to another. Once everything is copied and you have verified everything is correct, then you may remove old folders.

  1. Click on Start
  2. Select All Programs
  3. Click Microsoft RoboCopy GUI
  4. Select Source Path 
    This will be where your MDaemon user folders are currently located. (For example: C:\MDaemon\Users\$DOMAINNAME$\ where $DOMAINNAME is the email domain of the users.)
  5. Select Destination Path 
    This with be the path you want your Mdaemon users folder moved to. (For example: D:\MDaemon\Users\$DOMANINNAME\ where $DOMAINNAME$ is the email domain of the users.)
  6. Click on the Copy Options Tab
  7. Select /E
  8. Select /Mir
  9. Select Run

The following steps are only necessary if you are changing the path of the user's mailboxes.

  1. Click on Accounts
  2. Select Edit Accounts
  3. Select the Account
  4. Select Mail Folders and Groups
  5. Select Browse button
  6. Browse to the new folder
  7. Click OK
  8. Click Apply 
    You will get a prompt. “The mail folder you have specified for this user already exists. It may belong to a current or previously deleted account”
  9. Click OK
  10. Click OK to exit

If you are keeping the pathing for the user’s folder the same, but are changing the driver letter you can modify the userlist.dat file located in the MDaemon\App directory. 

** Caution** Modifying the user list.dat could cause the loss of your user information. 

Open Windows Explorer and browse to the MDaemon\App folder. Make a copy of the userlist.dat file before making any changes.

  1. Open userlist.date with Notepad
  2. Click Edit
  3. Select Replace
  4. In the 'Find What:' field type “C:\
  5. In the 'Replace With:' field type the drive letter of the new drive. (example: D:\)
  6. Once changes have been made, Click on File
  7. Click Save
  8. Click on File
  9. Click Exit

Restart MDaemon and confirm accounts are pointing to the new folders.