Topic: Issues installing iRedMail using MySQL server on separate LAN server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian 8.3 jessie 64bit MATE 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
So I've got an issue and I'm wondering if you guys can point me in the right direction to get it solved.
What I'm doing:
I need to run two separate Debian 8 virtual machines in VirtualBox. One is the webserver (B) the other is the email server (C). Both are running on a host Debian 8 machine (A) and both (B&C) need to use the MySQL database on the host machine (A). Both VMs have a Bridged Adapter set in VBox so they all behave as real machines on the network. I have successfully setup the webserver on machine (B) to use the host MySQL database. Machine (C) is a fresh installation of Debian 8. When I follow the instructions set forth in the guide provided at http://www.iredmail.org/docs/install.ir … erver.html the installer iRedMail.sh is unable to connect to the MySQL server on the host. I did test just to see if I can even access the host MySQL server from this VM and indeed it can. After the installation I can see where the installer ran into problems in the final [INFO] section where it mentions error on some line of code in iRedMail.x.x/functions/mysql is missing. The result is that all of the components installed either dont work or cannot connect to the database. Looking at my phpMyadmin page I can see that the installer was not able to make any changes.
My main question; is there someplace in the installer or accompanying files I can insert the MySQL server information and have in connect to the MySQL server on my host machine successfully.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.