I have lost my disk configuration due to a RAID controller failure. Previous system was CentOS 5.11 and ISPconfig 3.0.5.4p9 - I installed a newest one on the CentOS 6.9. The reason is that there is no longer enabled repository for CentOS v. 5.11. Or maybe it doesn't matter - than I could install Debian 9.4 instead. Fortunatelly I have the rsync copy of these folders: /var/www | /var/vmail | /usr/local/ispconfig | /var/lib/mysql/ and /etc. Can I just I copy (except /etc) content of these folders to a new server ? Or how to do it and install mySQL databases ? I installed a new ISPconfig server but the very newest version - do the both ISPconfig versions should be exactly the same ? If I am not quite sure - which file inside /usr/local/ispconfig contain ISPconfig version number ?
This thread explains what needs to be done: https://www.howtoforge.com/community/threads/ispconfig-3-move-to-another-server.41643/
I copied all above folders except /etc and folder /var/log/ispconfig/httpd was required also. I copied files /etc/passwd and /etc/group also. Server httpd is runnig OK, Ispconfig web interface is OK, ftp is OK, clients could login but email server is not working Web mail login works (roundcube) and clients can see past emails, but sending and receiving emails is not working. I got some errors: Code: Apr 18 09:05:51 dns postfix/proxymap[24259]: warning: request for unapproved table: "mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf" Apr 18 09:05:51 dns postfix/proxymap[24259]: warning: to approve this table for read-only access, list proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf in main.cf:proxy_read_maps Apr 18 09:05:51 dns postfix/smtpd[24258]: fatal: proxymap service is not configured for table "mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf" Apr 18 09:05:52 dns postfix/master[5047]: warning: process /usr/libexec/postfix/smtpd pid 24258 exit status 1 Apr 18 09:05:52 dns postfix/master[5047]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Old server was CentOS 5.11, new server is CentOS 6.5. I notice the difference between Perfect setup CentOS 5.10 and 6.5. CentOS 5.10 installs dovecot and dovecot-sieve CentOS 6.5 installs dovecot and dovecot-mysql Should I remove dovecot-mysql and install dovecot-sieve instead ?
I did: Reconfigure Permissions in master database? (yes,no) [no]: yes Reconfigure Services? (yes,no) [yes]: and next: service postfix restart Result is the same: Code: Apr 18 10:22:52 dns postfix/postfix-script[1243]: stopping the Postfix mail system Apr 18 10:22:52 dns postfix/master[862]: terminating on signal 15 Apr 18 10:22:52 dns postfix/postfix-script[1328]: starting the Postfix mail system Apr 18 10:22:52 dns postfix/master[1329]: daemon started -- version 2.6.6, configuration /etc/postfix Apr 18 10:22:53 dns postfix/proxymap[1334]: warning: request for unapproved table: "mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf" Apr 18 10:22:53 dns postfix/proxymap[1334]: warning: to approve this table for read-only access, list proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf in main.cf:proxy_read_maps Apr 18 10:22:53 dns postfix/smtpd[1333]: fatal: proxymap service is not configured for table "mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf"
I reinstalled postfix and amavis (as it is depending). Current log is: Code: Apr 18 10:54:40 dns postfix/postfix-script[5197]: stopping the Postfix mail system Apr 18 10:54:40 dns postfix/master[4638]: terminating on signal 15 Apr 18 10:54:40 dns postfix/postfix-script[5269]: starting the Postfix mail system Apr 18 10:54:41 dns postfix/master[5270]: daemon started -- version 2.6.6, configuration /etc/postfix Apr 18 10:54:55 dns dovecot: imap-login: Disconnected (no auth attempts): rip=31.0.38.219, lip=213.192.68.43, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown: SSL alert number 46 Apr 18 10:54:56 dns dovecot: imap-login: Disconnected (no auth attempts): rip=31.0.38.219, lip=213.192.68.43, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown: SSL alert number 46
Now you seem to have an ssl cert problem, check if it exists and that it is not empty and it might be that you wiped out the mailserver config with the reinstallation.
I reinstalled Dovecot also without succsess. this part of log corresponding with webmail (roundcube) located on the same machine: Code: dovecot: imap-login: Disconnected (no auth attempts): rip=31.0.38.219, lip=213.192.68.43, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown: SSL alert number 46 While clients wants to connect from outside using their mail programs (eg. Thunderbird) the log is like this: dovecot: imap-login: Disconnected (auth failed, 1 attempts)
Same thing as above with postfix, you seem to have wiped out the ssl certs of the mail system. Btw. Maybe you should ask @florian030 from ISPConfig business support for a quote to fix the mail setup for you. You can reach him here as well: https://www.ispconfig.org/get-support/?type=ispconfig
I'ff fix SSL cert later, but now most important is this: dovecot: imap-login: Disconnected (auth failed, 1 attempts): user=...