Attention
iRedMail Team can help migrate your iRedMail server, feel free to Contact Us.
iRedMail Easy platform offers deployment, one-click upgrade support and technical support for your iRedMail servers, it's very easy to keep your server up to date with the ease to use web UI, and get issues solved by iRedMail Team quickly.
For more details about iRedMail Easy platform, please check our website.
iRedMail-0.9.9
, or has been successfully upgraded to the latest
iRedMail-0.9.9 release.Unfortunately, FreeBSD is not supported by iRedMail Easy platform.
Please backup all important data before preparing the migration, including but not limtied to:
All SQL/LDAP databases.
iRedMail Easy will use existing SQL/LDAP databases, no data corruption is expected.
All config files under /etc
directory.
After moved to iRedMail Easy, you should place all your custom settings in files
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.
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.
Attention
You can find all info in the iRedMail.tips
file under iRedMail
installation directory, for example, /root/iRedMail-0.9.9/iRedMail.tips
.
If you don't have this file anymore, you can still find them in other
config files.
mysql_root_password
: the MySQL root password. This is required for OpenLDAP
and MySQL/MariaDB backends. You can find it in file /root/.my.cnf
or /root/.my.cnf-root
.pgsql_root_password
: The PostgreSQL root password. This is required for
PostgreSQL backend. You can find it in the .pgpass
file under PostgreSQL
data directory./var/lib/pgsql/.pgpass
./var/lib/postgresql/.pgpass
./var/postgresql/.pgpass
.ldap_root_password
: The password of OpenLDAP root dn (cn=Manager,dc=xx,dc=xx).
This is required for OpenLDAP backend.ldap_vmail_password
: The password of LDAP dn cn=vmail,dc=xx,dc=xx
.ldap_vmailadmin_password
: The password of LDAP dn cn=vmailadmin,dc=xx,dc=xx
.vmail_db_password
: The password of SQL user vmail
.vmail_db_admin_password
: The password of SQL user vmailadmin
.amavisd_db_password
: The password of SQL user amavisd
.sa_bayes_db_password
: The password of SQL user sa_bayes
.iredadmin_db_password
: The password of SQL user iredadmin
.iredapd_db_password
: The password of SQL user iredapd
.iredapd_srs_secret
: The secret string used by iRedAPD to sign SRS.sogo_db_password
: The password of SQL user sogo
.sogo_sieve_master_password
: The Dovecot master user used by SOGo. You can find it in /etc/sogo/sieve.cred
.roundcube_db_password
: The password of SQL user roundcube
.roundcube_des_key
: The DES key used by Roundcube to encrypt the session. You can find it in /opt/www/roundcubemail/config/config.inc.php
, parameter $config['des_key'] =
.mlmmjadmin_api_token
: The token string used by iRedAdmin-Pro to communicate with mlmmjadmin. You can find it in /opt/mlmmjadmin/settings.py
, parameter api_auth_tokens =
.netdata_db_password
: The password of SQL user netdata
. You can find it in /root/.my.cnf-netdata
or /opt/netdata/etc/netdata/my.cnf
.first_domain_admin_password
: The password of the first mail user created during iRedMail installation.iRedMail Easy stores SSL cert/key files under /opt/iredmail/ssl/
, you need to
either copy or (symbol) link existing ssl cert/key to this directory with
correct files names,
/opt/iredmail/ssl/key.pem
: private key/opt/iredmail/ssl/cert.pem
: certificate/opt/iredmail/ssl/combined.pem
: full chainPlease follow our tutorial Getting start with iRedMail Easy to sign up, and add your mail server info, then perform the full deployment.
iRedMail Easy will re-generate most config files, custom settings will be
loaded from files under /opt/iredmail/custom/
, so if you have any
customizations, you may need to copy your custom settings to files under
/opt/iredmail/custom/
.
iRedMail Easy will rewrite config files under /etc/postfix/
, most importantly
main.cf
and master.cf
. If you have any changes in these 2 files, please
read the [Best Practice](./iredmail-easy.best.practice.html)
document to
understand how to customize them with shell script
/opt/iredmail/custom/postfix/custom.sh
.
For customizations you made in other files under /etc/postfix/
, you must
move the customizations to files under /opt/iredmail/custom/postfix/
which
have same file names.
For example, if you added some rules in /etc/postfix/helo_access.pcre
, you
should copy these rules to file /opt/iredmail/custom/postfix/helo_access.pcre
.