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.
Thread Tools Display Modes
Old 5th May 2008, 19:48
gauthier gauthier is offline
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
Old 6th May 2008, 10:58
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

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)
Old 6th May 2008, 13:04
gauthier gauthier is offline
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


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

All times are GMT +2. The time now is 23:25.

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