Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd March 2011, 12:46
excalibur excalibur is offline
Junior Member
 
Join Date: Feb 2011
Posts: 18
Thanks: 3
Thanked 1 Time in 1 Post
Default 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
e.g /home/info/
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?

tnx
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2011, 13:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

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:

http://batleth.sapienti-sat.org/projects/mb2md/

The maildirs on a ispconfig 3 server are in /var/vmail/domain.tld/user/Maildir/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
excalibur (22nd March 2011)
  #3  
Old 22nd March 2011, 14:05
excalibur excalibur is offline
Junior Member
 
Join Date: Feb 2011
Posts: 18
Thanks: 3
Thanked 1 Time in 1 Post
Default

Do i have to download the files first to my new server?
because i don't have SSH access to my reseller account.
Reply With Quote
  #4  
Old 22nd March 2011, 19:30
excalibur excalibur is offline
Junior Member
 
Join Date: Feb 2011
Posts: 18
Thanks: 3
Thanked 1 Time in 1 Post
Default

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!

Reply With Quote
  #5  
Old 23rd March 2011, 08:44
excalibur excalibur is offline
Junior Member
 
Join Date: Feb 2011
Posts: 18
Thanks: 3
Thanked 1 Time in 1 Post
 
Thumbs up Solved

Problem solved.

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.
Reply With Quote
The Following User Says Thank You to excalibur For This Useful Post:
falko (23rd March 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] excalibur HOWTO-Related Questions 3 22nd March 2011 09:07
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25 stinson HOWTO-Related Questions 11 5th February 2011 13:57
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53


All times are GMT +2. The time now is 01:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.