1

Topic: Mariadb only option

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Want Mysql
- Web server (Apache or Nginx): Want Apache but can only install on Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
===
Hello,
The iRedMail setup only offers Mariadb as Database option.
Is it possible to instead install to a Mysql-Server?
Do I need to download the iRedMail Mysql edition? (And if yes, whre can I find it?)
Furthermore, since Apache is no longer supported, is it possible to install Roundcubemail manually?

Looking forward to your help,
Thanks

----

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

2

Re: Mariadb only option

- MariaDB is an in-place replacement for MySQL, you can use MariaDB to replace MySQL.
- RHEL/CentOS dropped MySQL packages years ago, only MariaDB is available on RHEL/CentOS 7.
- OpenBSD doesn't have MySQL port/packages, only MariaDB is available on OpenBSD 6.4.

If you really want it On Debian 9, you can enable MySQL support by modifying file "iRedMail-0.9.9/conf/global", here's patch:

diff -r dc535c32f5d2 iRedMail/conf/global
--- a/iRedMail/conf/global      Sat Jan 26 17:13:52 2019 +0800
+++ b/iRedMail/conf/global      Mon Feb 04 10:31:31 2019 +0800
@@ -480,7 +480,7 @@
         export SYSLOG_CONF='/etc/rsyslog.conf'
 
         if [ X"${DISTRO_VERSION}" == X'9' ]; then
-            export ENABLE_BACKEND_MYSQL='NO'
+            export ENABLE_BACKEND_MYSQL='YES'
             export ENABLE_BACKEND_MARIADB='YES'
         fi
     elif [ X"${DISTRO}" == X'UBUNTU' ]; then