Topic: Issues with installing on stock RHEL 6.7
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: RHEL 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi, I just finished setting up a new mail server with version 0.9.4 on a RHEL 6.7 and thought I would share a few issues I had: the main one is that the installation script does not properly create the DB schemas when using the postgresql server that comes with the distro: postgresql 8.4.20 does not understands the CREATE TABLE ... IF NOT EXIST statements used in the sql scripts (and neither does 9.0 - you need at least postgresql 9.1). I think the documentation should make it clear what the prerequisites are for a successfull installation.
The second issue is that I would really like to be able to setup iRedMail with a remote Postgresql server. I know the installation makes no provisions for this... I was able to do it by manually recreating the DBs and the users and modifying the configuration files for all the components of the system after the initial setup. Lenghty and with a lot of trial and error, but doable.
Thirdly, the standard PHP shipped with RHEL 6.7 is 5.3.3, which is not enough for current RoundCubeMail versions: you need at least 5.3.7, so I had to add the RHSCL repository to have at least PHP 5.4. Again, it would be nice to have a paragraph in the docs online (and maybe also in the README in the tarball) that specifies this.
Best Regards,
Alberto
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.