SmarterMail 6 Migration Issue with subfolders
Posted on Sep 28, 2009 by
Paul WhiteRecently I had to do an emergency migration of a website that was hosted at
HostMySite to one of my
dedicated Boxes at
Godaddy. I won't go into detail of why the migration was needed, but lets just say,
HostMySite, or
Hosting.com as they are now called, has the worst Load Balanced
asp.net Servers ( .Net Pro plan ). No reason any load balanced server should go down, much less go down for 8 hours, and then again for 4 hours within the same 3 day period. I have no Faith in the
hosting.com hardware. but before I get onto a rant ( save it for another post ), lets get back on topic.
Getting the SmarterMail Data Moved to the new server
So my client had about 500 MB of email data on the
shared smartermail server that needed to get migrated to my
dedicated box ( hosted at
godaddy). So I had the
Hosting.com staff drop my domain folder from
smartermail into my root directory were I could easily FTP it to the new box. After the FTP was complete I needed to import it into
SmarterMail. Granted these were not the same version of
smarterMail, as I was going from a 5.x machine to a 6.x machine. But I had already done this before with other domains, and there was no problem. So I didn't expect there to be any issues.
The process of migrating a domain in smartermail
Stop the Mail Server Process
Drag and drop the folder to C:SmarterMailDomainsmydomain.com
edit "C:Program FilesSmarterToolsSmarterMailServicedomainlist.xml" adding a new site
Start Mail Server
Login as Server Admin, and configure IP the domain is to use.
But if you had any subfolders and noticed they are empty, you might want to check to see if the server created duplicate folders that have a space leading the folder name.
Open the folder and you will notice how subfolders look like this
foldername/ subfoldername
when they are supposed to be
foldername/subfoldername
Steps for fixing folders and subfolders on SmarterMail 6.x
Stop the mail server
Delete all the folders / subfolders that have a leading space in the name
Delete all files called root.cfg ( found in the users folder )
Delete all files called mailbox.cfg ( located in the folders / subfolders of the users folder )
Start the mail server
Check your mail
Problem should be fixed
Discussion
No Comments have been submitted