From 38637696d3d686884be2d018fd0c3337a8b7002e Mon Sep 17 00:00:00 2001
From: Zhang Huangbin
`sql_user__postgresql` (OpenBSD) | PostgreSQL root password. | `/var/lib/pgsql/.pgpass` (CentOS), or `/var/lib/postgresql/.pgpass` (Debian/Ubuntu), `/var/postgresql/.pgpass` (OpenBSD)
+LDAP | `ldap_root_password` | Password of LDAP root dn (cn=Manager,dc=xx,dc=xx) |
+LDAP | `ldap_vmail_password` | Password of LDAP dn `cn=vmail,dc=xx,dc=xx` | `/etc/postfix/ldap/*.cf`
+LDAP | `ldap_vmailadmin_password` | Password of LDAP dn `cn=vmailadmin,dc=xx,dc=xx` | `/opt/www/iredadmin/settings.py`
+ALL | `sql_user_vmail` | Password of SQL user `vmail` | `/etc/postfix/mysql/*.cf` or `/etc/postfix/pgsql/*.cf`
+ALL | `sql_user_vmailadmin` | Password of SQL user `vmailadmin` | `/opt/www/iredadmin/settings.py`
+ALL | `sql_user_amavisd` | Password of SQL user `amavisd` | `/etc/amavisd/amavisd.conf` (Linux/OpenBSD)
`/etc/amavis/conf.d/50-user` (Debian/Ubuntu)
+ALL | `sql_user_sa_bayes` | Password of SQL user `sa_bayes` | `/etc/mail/spamassassin/local.cf`
+ALL | `sql_user_iredadmin` | Password of SQL user `iredadmin` | `/opt/www/iredadmin/settings.py`
+ALL | `sql_user_iredapd` | Password of SQL user `iredapd` | `/opt/iredapd/settings.py`
+ALL | `sql_user_roundcube` | Password of SQL user `roundcube` | `/root/.my.cnf-roundcube` or `/opt/www/roundcubemail/config/config.inc.php`
+ALL | `sql_user_sogo` | Password of SQL user `sogo` | `/etc/sogo/sogo.conf`
+ALL | `sql_user_netdata` | Password of SQL user `netdata` | `/root/.my.cnf-netdata` or `/opt/netdata/etc/netdata/my.cnf`
+ALL | `iredapd_srs_secret` | The secret string used to sign SRS. | `/opt/iredapd/settings.py`, parameter `srs_secrets =`.
+ALL | `sogo_sieve_master_password` | The Dovecot master user used by SOGo. | `/etc/sogo/sieve.cred`.
+ALL | `roundcube_des_key` | The DES key used by Roundcube to encrypt the session. | `/opt/www/roundcubemail/config/config.inc.php`, parameter `$config['des_key'] =`.
+ALL | `mlmmjadmin_api_token` | API token for authentication. | `/opt/mlmmjadmin/settings.py`, parameter `api_auth_tokens =`.
+ALL | `first_domain_admin_password` | Password of the mail user `postmaster@
/root/.iredmail/kv/
on
+ YOUR server to get the passwords./root/.iredmail/kv/
contain only one line./root/.iredmail/kv/
+ also, so that iRedMail Easy can get correct password when you perform upgrade.Backend | +File Name | +Comment | +Value could be found in file | +
---|---|---|---|
LDAP, MySQL | +sql_user_root |
+MySQL root password. | +/root/.my.cnf |
+
PostgreSQL | +sql_user_postgres (Linux)sql_user__postgresql (OpenBSD) |
+PostgreSQL root password. | +/var/lib/pgsql/.pgpass (CentOS), or /var/lib/postgresql/.pgpass (Debian/Ubuntu), /var/postgresql/.pgpass (OpenBSD) |
+
LDAP | +ldap_root_password |
+Password of LDAP root dn (cn=Manager,dc=xx,dc=xx) | ++ |
LDAP | +ldap_vmail_password |
+Password of LDAP dn cn=vmail,dc=xx,dc=xx |
+/etc/postfix/ldap/*.cf |
+
LDAP | +ldap_vmailadmin_password |
+Password of LDAP dn cn=vmailadmin,dc=xx,dc=xx |
+/opt/www/iredadmin/settings.py |
+
ALL | +sql_user_vmail |
+Password of SQL user vmail |
+/etc/postfix/mysql/*.cf or /etc/postfix/pgsql/*.cf |
+
ALL | +sql_user_vmailadmin |
+Password of SQL user vmailadmin |
+/opt/www/iredadmin/settings.py |
+
ALL | +sql_user_amavisd |
+Password of SQL user amavisd |
+/etc/amavisd/amavisd.conf (Linux/OpenBSD)/etc/amavis/conf.d/50-user (Debian/Ubuntu) |
+
ALL | +sql_user_sa_bayes |
+Password of SQL user sa_bayes |
+/etc/mail/spamassassin/local.cf |
+
ALL | +sql_user_iredadmin |
+Password of SQL user iredadmin |
+/opt/www/iredadmin/settings.py |
+
ALL | +sql_user_iredapd |
+Password of SQL user iredapd |
+/opt/iredapd/settings.py |
+
ALL | +sql_user_roundcube |
+Password of SQL user roundcube |
+/root/.my.cnf-roundcube or /opt/www/roundcubemail/config/config.inc.php |
+
ALL | +sql_user_sogo |
+Password of SQL user sogo |
+/etc/sogo/sogo.conf |
+
ALL | +sql_user_netdata |
+Password of SQL user netdata |
+/root/.my.cnf-netdata or /opt/netdata/etc/netdata/my.cnf |
+
ALL | +iredapd_srs_secret |
+The secret string used to sign SRS. | +/opt/iredapd/settings.py , parameter srs_secrets = . |
+
ALL | +sogo_sieve_master_password |
+The Dovecot master user used by SOGo. | +/etc/sogo/sieve.cred . |
+
ALL | +roundcube_des_key |
+The DES key used by Roundcube to encrypt the session. | +/opt/www/roundcubemail/config/config.inc.php , parameter $config['des_key'] = . |
+
ALL | +mlmmjadmin_api_token |
+API token for authentication. | +/opt/mlmmjadmin/settings.py , parameter api_auth_tokens = . |
+
ALL | +first_domain_admin_password |
+Password of the mail user postmaster@<your-domain.com> . |
+your-domain.com is the first mail domain name you (are going to) set in mail server profile page on iRedMail Easy platform, you can find it in mail server profile page, under tab Settings . |
+
/opt/iredmail/custom/mysql/
:.cnf
will be loaded by Mariadb./etc/mysql/
.It will override existing settings defined in files under /etc/mysql/
(Linux)
+ or /usr/local/etc/mysql/
(FreeBSD).
Sample config file, /opt/iredmail/custom/mysql/custom.conf
:
Sample config file, /opt/iredmail/custom/mysql/custom.conf
:
[mysqld]
max_connections = 1024
diff --git a/html/migrate.to.iredmail.easy.html b/html/migrate.to.iredmail.easy.html
index 26eb3ee3..2f07212f 100644
--- a/html/migrate.to.iredmail.easy.html
+++ b/html/migrate.to.iredmail.easy.html
@@ -81,8 +81,9 @@ under /opt/iredmail/custom/<software>/
.
iRedMail Easy doesn't store any SQL/LDAP passwords, instead it reads from files
-under /root/.iredmail/kv/
on your server to get them.
iRedMail Easy doesn't store any SQL/LDAP passwords on its deployment servers,
+instead it reads from files under /root/.iredmail/kv/
on your server to get
+the passwords.
Please create these files under /root/.iredmail/kv/
with correct passwords
manually, each file should contain only one line, passwords must be in plain
text, not the hashed one.