Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: dilligaf on May 26, 2009, 07:27:45 PM

Title: migrate mail from 6.x sme to 7.4
Post by: dilligaf on May 26, 2009, 07:27:45 PM
we have the new sme 7.4 server ready, user accts created.
what is the quickest/reliable way to move the users mail folders from the 6.x box?

there are no ibays, just mail.
is there a way to winscp from server to server.
thanks in advance.
Title: Re: migrate mail from 6.x sme to 7.4
Post by: mrjhb3 on May 27, 2009, 04:23:57 AM
we have the new sme 7.4 server ready, user accts created.
what is the quickest/reliable way to move the users mail folders from the 6.x box?

there are no ibays, just mail.
is there a way to winscp from server to server.
thanks in advance.

Use at your own risk.  Yes, you should be able to copy the mail from 6.x to sme 7.  Make sure you copy the mail to the user's Maildir directory, Chown -R user.user Maildir, signal-event post-upgrade ; signal-event reboot

There is an event that runs on post-upgrade, /etc/e-smith/events/post-upgrade/S05imap-relocate-maildirs, that takes the old Maildir format that had a ; in front of the folder name and changes it to a dot (.).  Remember that dotfiles are hidden, to view ls -a or ls -la, etc.

This should be transparent to the user.  I haven't done this in a long while, but when 7 was first released, I did test it to make sure things worked, but again, it was only on a test server, with test data.

YMMV,

John
Title: Re: migrate mail from 6.x sme to 7.4
Post by: mmccarn on May 27, 2009, 01:45:56 PM
You could also use 'imapsync': http://wiki.contribs.org/Imapsync
Title: Re: migrate mail from 6.x sme to 7.4
Post by: dilligaf on June 13, 2009, 06:27:05 PM
thank you for the suggestions.
one last question, would adding a second e-mail account on the pc to the new server, and then drag and drop messages be just as quick?
(I know, try it, test imapcopy etc, just a question is all)
their old server is only mail, users have all created many subfolders, I just want to get all their mail over to new server in one shot accurately, thanks in advance
Dan
Title: Re: migrate mail from 6.x sme to 7.4
Post by: cactus on June 14, 2009, 09:33:10 AM
thank you for the suggestions.
one last question, would adding a second e-mail account on the pc to the new server, and then drag and drop messages be just as quick?
(I know, try it, test imapcopy etc, just a question is all)
their old server is only mail, users have all created many subfolders, I just want to get all their mail over to new server in one shot accurately, thanks in advance
Dan
No as there is a lot of overhead involved using a mail client. I think imapsync might be pretty much faster. For more details on impasync: http://freshmeat.net/projects/imapsync/