Koozali.org: home of the SME Server

migrate mail from 6.x sme to 7.4

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
migrate mail from 6.x sme to 7.4
« 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.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: migrate mail from 6.x sme to 7.4
« Reply #1 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
......

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: migrate mail from 6.x sme to 7.4
« Reply #2 on: May 27, 2009, 01:45:56 PM »
You could also use 'imapsync': http://wiki.contribs.org/Imapsync

Offline dilligaf

  • *
  • 266
  • +0/-0
    • http://www.willcraft.com
Re: migrate mail from 6.x sme to 7.4
« Reply #3 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: migrate mail from 6.x sme to 7.4
« Reply #4 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/
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)