Source

iredmail / iRedMail / conf / global

Diff from to

File iRedMail/conf/global

 # PGSQL server
 export PGSQL_SERVER="${PGSQL_SERVER:=${LOCAL_ADDRESS}}"
 export PGSQL_SERVER_PORT="${PGSQL_SERVER_PORT:=5432}"
+
+export USE_LOCAL_MYSQL_SERVER='YES'
+if [ X"${MYSQL_SERVER}" == X"${LOCAL_ADDRESS}" ]; then
+    export USE_LOCAL_MYSQL_SERVER='NO'
+fi
+
 # Dovecot: POP3, IMAP, managesieve
 export IMAP_SERVER="${LOCAL_ADDRESS}"
 export MANAGESIEVE_BIND_HOST="${LOCAL_ADDRESS}"