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.
- Click on Start
- Select All Programs
- Click Microsoft RoboCopy GUI
- 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.)
- 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.)
- Click on the Copy Options Tab
- Select /E
- Select /Mir
- Select Run
The following steps are only necessary if you are changing the path of the user's mailboxes.
- Click on Accounts
- Select Edit Accounts
- Select the Account
- Select Mail Folders and Groups
- Select Browse button
- Browse to the new folder
- Click OK
- 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”
- Click OK
- 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.
- Open userlist.date with Notepad
- Click Edit
- Select Replace
- In the 'Find What:' field type “C:\”
- In the 'Replace With:' field type the drive letter of the new drive. (example: D:\)
- Once changes have been made, Click on File
- Click Save
- Click on File
- Click Exit
Restart MDaemon and confirm accounts are pointing to the new folders.