When attempting to move user mailboxes to a different hard drive on the same machine using the DirReorg utility (which is included with MDaemon) with the /Q switch, you receive an error for each user when running the utility:
Error moving MailDir for user01@example.com
The user directories are not moved to the new path.
This occurs even though when using the /T switch to test, you receive the response 'Would move C:\MDaemon\Users\Domain\User to D:\Newpath\domain\user01 for user user01@example.com.'
There is a known issue when trying to use DirReorg.exe to move mailboxes from one drive to another. This issue was fixed in version 10.0.1.
If using MDaemon 12.5.x follow these steps:
- Update the Mailbox path under the account default section.
- Open the MDaemon console
- Click Accounts
- Click Account Settings...
- Under New Account Defaults select Mailbox
- On the right hand pane, enter the new mailbox path in Mail folder template
- Click OK
- At this point, either freeze the Inbound queue so that new messages are not placed into users' mailbox folders, or shut down the MDaemon service.
- To freeze the Incoming queue:
- Click Queues
- Click Freeze Inbound Queue
- If prompted to confirm, click Yes
- To shut down MDaemon:
- Click File
- Click Stop MDaemon
- Copy the users' mailboxes to the new path through Windows
- Run DirReorg /F to force DirReorg to change the path to the users' mailboxes in the Userlist.dat file.
- Start MDaemon if you stopped it, or unfreeze the Inbound queue.
- To unfreeze the queue:
- Click Queues
- Click Freeze Inbound Queue
- To unfreeze the queue:
- To freeze the Incoming queue:
Additional Comments
If you are using an earlier version of MDaemon, please refer to your help file for instructions on how to find those options.