We need to set a FQDN hostname before we set up the mail server. On CentOS Linux, hostname is set in two files: Hostname setting:
# Part of file: /etc/sysconfig/network
Hostname <=> IP address mapping: /etc/hosts. WARNING: Please list the FQDN hostname as the first item.
# Part of file: /etc/hosts
127.0.0.1 demo.iredmail.org demo localhost localhost.localdomain
Verify the FQDN hostname with command ‘hostname -f’. If you change the hostname, please reboot the server to make it work. Continue reading “Install iRedmail on a CentOS 6.8 server” »