To change server hostname, please follow our tutorial in iRedMail installation guide directly:
Also, replace old hostname in below configuration files:
/etc/postfix/main.cf
./etc/amavisd/amavisd.conf
or /etc/amavis/conf.d/50-user
(Debian/Ubuntu)./etc/hosts
/var/spool/postfix/etc/hosts
/usr/local/bin/dovecot-quota-warning.sh
, required only if you're running
iRedMail-0.8.7 or earlier releases.
Re-generate ssl cert and key with script tools/generate_ssl_keys.sh
shipped
in iRedMail.
Document published under a CC BY-ND 3.0 license. If you found something wrong, please do contact us to fix it.