Koozali.org: home of the SME Server

copy mailbox from old 6.x to 7.2

Offline thieu

  • 2
  • +0/-0
copy mailbox from old 6.x to 7.2
« on: September 06, 2007, 09:32:21 PM »
Hello,

I have installed a new server with SME 7.2. The sites i host are small (just hobby/domestic) zo i copied them from the old 6.x to the new 7.2 server using MC. No problem with that.
Now i want to copy the mail from 2 mailboxes to the new 7.2 server.
In the webmail interface i can only see the amount of mails but not the mails themselves.
I recon that is has to do something with the dovecot index?
Since it is so far all simple data (no databases e.d.) i did not use the hardware migrating method as named in the manual.
I have not found any other information about move mailboxes to a new server. Or maybe a have missed it?

Is there any help possible?
Thanks
Thieu


Offline shell

  • ****
  • 117
  • +0/-0
Re: copy mailbox from old 6.x to 7.2
« Reply #1 on: September 07, 2007, 01:01:08 AM »
Hi,

as long as you have chown'd the files and moved them into the new /home/e-smith/files/users/username/Maildir directory the key difference between 6.x and 7.x that i have found is the naming convention of the folders.  6.x has ";INBOX" 7.x expects ".INBOX".

Try renaming the folders and in my experience you should be good to go.
There are scripts for doing this for large numbers of users on the forum (search something like chown Maildir) but if it is only a limited number of folders / users then manually should be fine.

Cheers,
Shell
P.S. Amen its Friday!

Offline thieu

  • 2
  • +0/-0
Re: copy mailbox from old 6.x to 7.2
« Reply #2 on: September 07, 2007, 02:09:08 PM »
as long as you have chown'd the files and moved them into the new /home/e-smith/files/users/username/Maildir directory the key difference between 6.x and 7.x that i have found is the naming convention of the folders.  6.x has ";INBOX" 7.x expects ".INBOX".
I have seen the difference. :-) To prevent problems i made the folders using the web-interface. Then copied the files in there. In both the servers i was logged in as root.
There are scripts for doing this for large numbers of users on the forum (search something like chown Maildir) but if it is only a limited number of folders / users then manually should be fine.

Oke, i will try it

P.S. Amen its Friday!
Have a good weekend :-)

Thanks
Thieu