Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th May 2008, 18:48
gauthier gauthier is offline
Member
 
Join Date: Oct 2007
Posts: 58
Thanks: 5
Thanked 3 Times in 2 Posts
Default Export mailboxes (webmail) from server A to server B

Hi, I am new with ISPConfig.

I am trying to move from server A to server B. The thread "Moving ISPConfig" (http://www.howtoforge.com/forums/showthread.php?t=2717) helps me but I finaly decided to make a new instalation of ISPConfig and recreate each web (I suspect my ispconfig database to be corrupted in some way on old server).

The idea I have is to create manually (using ISPConfig panel) each mail account (each user).

My question is: how shall I get mail directories and address book for each user and move them to the new server? (If it can be made including password it would be better but not absolutly needed).

I read in "Moving ISPConfig" thread: "mailboxes are included in www.tar.gz." (this means it is included in the /home/www directory in my case, /var/www directory).

I tried to create users on the new server with the same name than in old one, and I replaced the directory /var/www/webxx/user/username/ with the same directory from old server.... it does not work.

Then I replaced the directory /home/adminispconfig/ispconfig/temp/username_localhost on new server with the same directory from old server... It works for the "sent" mailbox, not for "inbox" neither "trash" neither "address book" neither access password.

Please forgive my unknowledge.

Any help would be apreaciated.
Reply With Quote
Sponsored Links
  #2  
Old 6th May 2008, 09:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Please make sure that you use the same pop3 and imap daemon on both servers, e.g. courier or dovecot. Then copy the "Maildir" folders which are in the user directories from the old server to the new server. make sure that the folders and files are owned by the email user and not root after you copied them. Afterwards, copy the content of the folder /home/adminispconfig/ispconfig/temp/ to the new server.
__________________
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:
gauthier (6th May 2008)
  #3  
Old 6th May 2008, 12:04
gauthier gauthier is offline
Member
 
Join Date: Oct 2007
Posts: 58
Thanks: 5
Thanked 3 Times in 2 Posts
 
Default Great !

Great ! It works.

The problem was the owner of file and folders.

I ran:

chown -R user:group maildir

And mail boxes are here !

Thank you very much.
Reply With Quote
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
RoundCube Webmail On Your ISPConfig Server Within 10 Easy Steps SoMBS HOWTO-Related Questions 17 25th November 2010 13:19
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 aegean HOWTO-Related Questions 5 21st April 2008 11:10
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53


All times are GMT +2. The time now is 18:58.


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