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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th March 2013, 15:21
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default Moving e-mails from old ISPConfig to new one (diff versions)

Hello,

I have an old version of ISPConfig (3.0.2.2) which is running on Debian Lenny. Now I would like to install a new Debian Squezze with current version of ISPConfig and move to new server only mailboxes and DB.

I already installed new ISPConfig according manual The Perfect Server - Debian Squeeze (Debian 6.0) With BIND & Courier [ISPConfig 3]. I moved some tables from dbispconfig (tables: client, mail_domain, mail_forwarding, mail_user and sys_user) and copied mailboxes from /var/vmail. I have also installed Roundcube webmail.

The problem is that I cannot login to mailbox. I tried IMAP, POP3 and webmail.
In /var/log/mail.log there is

Mar 25 14:16:47 mail imapd: chdir /var/vmail/domain.tld/user: Permission denied
Mar 25 14:16:47 mail imapd: user@domain.tld: Permission denied

Where could be the problem? Do I need to copy any other table from old dbispconfig?


Thank you,
Miki
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2013, 18:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

ensure that all folders are owned by user and group vmail and that you use the same imap server (couroer / dovecot( that you used on your otherserver. the ispconfig version does not matter as the folder layout or users have not been changed.
__________________
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:
miki (28th March 2013)
  #3  
Old 25th March 2013, 18:42
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
ensure that all folders are owned by user and group vmail and that you use the same imap server (couroer / dovecot( that you used on your otherserver. the ispconfig version does not matter as the folder layout or users have not been changed.
I made chown -R vmail:vmail /var/vmail and now I have in mail.log this:
Mar 25 17:35:15 mail imapd: LOGIN FAILED, user=user@domain.tld, ip=[::ffff:127.0.0.1]

The login and password are still the same. I can login to mailbox with this credentials on old ispconfig from which I export the db. But on this new one I cannot.
Reply With Quote
  #4  
Old 25th March 2013, 18:46
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by miki View Post
I made chown -R vmail:vmail /var/vmail and now I have in mail.log this:
Mar 25 17:35:15 mail imapd: LOGIN FAILED, user=user@domain.tld, ip=[::ffff:127.0.0.1]

The login and password are still the same. I can login to mailbox with this credentials on old ispconfig from which I export the db. But on this new one I cannot.
Now I found out that I can login only to one of 3 mailboxes which I tested. Each of them are different domains.
Reply With Quote
  #5  
Old 26th March 2013, 15:51
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by miki View Post
Now I found out that I can login only to one of 3 mailboxes which I tested. Each of them are different domains.
In /var/log/mail.log I have:


Mar 26 14:32:43 mail authdaemond: zero rows returned
Mar 26 14:32:43 mail authdaemond: no password available to compare
Mar 26 14:32:43 mail authdaemond: authmysql: REJECT - try next module
Mar 26 14:32:43 mail authdaemond: FAIL, all modules rejected


Could someone tell me where could be the problem?
Reply With Quote
  #6  
Old 27th March 2013, 15:44
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Nobody could help me? Thanks for every helpful information.
Reply With Quote
  #7  
Old 28th March 2013, 15:08
miki miki is offline
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
 
Default Solved!

I find out that in dbispconfig database, table mail_user was empty column login.
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
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 19:10
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 19:17
Hosting multiple websites and webmail dmwcool Installation/Configuration 8 30th March 2010 04:15
ISPConfig - receivng mails from external not working gallen Server Operation 1 30th November 2006 10:17
email/ftp problem after moving ispconfig mystix Installation/Configuration 3 14th September 2006 20:41


All times are GMT +2. The time now is 08:36.


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