iredmail-doc/howto/change.server.hostname.md

39 lines
771 B
Markdown
Raw Normal View History

2015-06-30 11:27:32 -05:00
# Change server hostname
If you want to change server hostname, please also update below files to
replace old hostname by the new one:
## System config files
* /etc/hosts
* Debian/Ubuntu: /etc/hostname
* Debian/Ubuntu: /etc/mailname
## Postfix
* /var/spool/postfix/etc/hosts
* /etc/postfix/main.cf (Linux/OpenBSD) or /usr/local/etc/postfix/main.cf (FreeBSD)
## Awstats
* /etc/awstats/awstats.{web,smtp}.conf
## Apache
* RHEL/CentOS: /etc/httpd/conf/httpd.conf
* Debian/Ubuntu: /etc/apache2/apache.conf
## Amavisd
* RHEL/CentOS, OpenBSD: /etc/amavisd/amavisd.conf
* Debian/Ubuntu: /etc/amavis/conf.d/50-user
* FreeBSD: /usr/local/etc/amavisd.conf
## SOGO
* /etc/httpd/conf.d/SOGo.conf
* /etc/apache2/conf.d/SOGo.conf
* /etc/apache2/conf-available/SOGo.conf