1

Topic: Using remote db.

Hi,
am trying to install iredmail on my ubuntu 18.04 / also tried centos 7.
i followed the tutorial on https://docs.iredmail.org/install.iredm … erver.html
how to use remote database. but the installer dose not allow me to continue unless i check mysql back-end. and it then goes on downloading the mysql server.
off-course using latest iredmail.
is this correct behavior?  i did not allow it to continue as soon as i saw that it keeps asking for backend i terminate the installation.
help appreciated.
Another question though, is it possible to download the iredmail admin on another server? in case i wanted to have the mail on separate server and admin on another server?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Using remote db.

Please show us how you run the iRedMail installer.

It’s hard to find whether your steps were incorrect without showing us the commands you ran, and the output on console.

3

Re: Using remote db.

ZhangHuangbin wrote:

Please show us how you run the iRedMail installer.

It’s hard to find whether your steps were incorrect without showing us the commands you ran, and the output on console.

USE_EXISTING_MYSQL='YES' MYSQL_SERVER_ADDRESS='DB_SERVER_IP' MYSQL_SERVER_PORT='3306' MYSQL_ROOT_USER='admin_iredmail' MYSQL_ROOT_PASSWD=PASSWORD' MYSQL_GRANT_HOST='HOST_IP' bash iRedMail.s
I can ping the db server. and even login to it.

Post's attachments

Screenshot-20200311041505-860x528.png
Screenshot-20200311041505-860x528.png 41.12 kb, 1 downloads since 2020-03-11 

You don't have the permssions to download the attachments of this post.

4

Re: Using remote db.

Choose MariaDB and move forward. Any error?

It will install mysql client software.

5

Re: Using remote db.

ZhangHuangbin wrote:

Choose MariaDB and move forward. Any error?

It will install mysql client software.

The thing is in my mind, i thought that if its still asking me for back end, it means that it dd not take into considerations the commands i gave.
Ok, and going to re-test forward as you suggested.

another thing: is there a way to install the admin web on another server? so i can have my email server on host1 and have the admin web on host2 ?

6

Re: Using remote db.

ZhangHuangbin wrote:

Choose MariaDB and move forward. Any error?

It will install mysql client software.

I advanced as suggested. now i get this error on the browser.
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

7

Re: Using remote db.

appspot wrote:

another thing: is there a way to install the admin web on another server? so i can have my email server on host1 and have the admin web on host2 ?

Yes it's possible.

8

Re: Using remote db.

appspot wrote:

I advanced as suggested. now i get this error on the browser.
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

It means Roundcube can not connect to the SQL server or other SQL connection related error.
Please check log files to find detailed log and paste here for troubleshooting:

- /var/log/maillog
- /var/log/syslog (or "messages")