This tutorial is available in other languages
简体中文 /
To change server hostname after iRedMail installation, please update below files to replace old hostname by the new one:
/etc/hosts
Debian/Ubuntu: /etc/hostname
/etc/mailname
/var/spool/postfix/etc/hosts
/etc/postfix/main.cf
(Linux/OpenBSD) or /usr/local/etc/postfix/main.cf
(FreeBSD)/etc/awstats/awstats.web.conf
/etc/awstats/awstats.smtp.conf
/etc/httpd/conf/httpd.conf
/etc/apache2/apache.conf
/etc/amavisd/amavisd.conf
/etc/amavis/conf.d/50-user
/usr/local/etc/amavisd.conf
/etc/httpd/conf.d/SOGo.conf
/etc/apache2/conf.d/SOGo.conf
/etc/apache2/conf-available/SOGo.conf
All documents are available in BitBucket repository, and published under Creative Commons license. You can download the latest version for offline reading. If you found something wrong, please do contact us to fix it.