The Perfect Server - CentOs x86_64 [ISPConfig 3], now what?
I'm switching from my reseller account to my own server in datacenter.
In my old reseller-account all the emails are stored in
I have 'Thrash', 'sent' & 'draft' file and my inbox is in /var/spool/mail/, i got a 'info' file.
With my CentOs setup, can i easily copy those files to let it work and where do i have to copy this ?
Or do i have to do another procedure?
It seems that your old server uses the mbox format to store emails and your new server uses maildir format. There is a tool available named mb2md that can convert mailbox files to maildir format:
The maildirs on a ispconfig 3 server are in /var/vmail/domain.tld/user/Maildir/
Do i have to download the files first to my new server?
because i don't have SSH access to my reseller account.
I'm following the mb2md, they say
Run this as the user of the mailboxes, not as root.
but i don't have users for eg. example.com, i only have root user to migrate my files.
also when i do this
[root@server Maildir]# ./mb2md.pl -s Drafts
Fatal: Source is not an mbox file or a directory!
What did i do?
I have download all files of my current hosting (/home/[user]/) to /tmp/[user] of the new server
and ran this:
./mb2md -s /tmp/[user]/ -R -d /var/vmail/[domain]/[user]/Maildir/
When i check my roundcube on my new server, all my mails are imported.
1 disadvantage: all my mails are marked unread :(
Hopefully this will help anyone.
|All times are GMT +2. The time now is 07:06.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.