1

Topic: Change hostname

==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: CEntos 6.2
- Related log if you're reporting an issue:
====
Hello,
I want to change the hostname of my iRedmial server (only the name part not the domain part). It would be enough to change the linux hostname and the "myhostname" parameter on postfix or there is something more to do ?
Thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Change hostname

Please check below items:

- Linux hostname
- Postfix parameter in main.cf: myhostname, myorigin, mydomain.
- /etc/amavisd/amavisd.conf: mydomain, local_domains_maps
- Apache /etc/httpd/httpd.conf: ServerName
- /etc/awstats/*.cf: SiteDomain
- /usr/local/bin/dovecot-quota-warning.sh: "From: no-reply@[HOSTNAME]"

3

Re: Change hostname

ZhangHuangbin wrote:

Please check below items:

- Linux hostname
- Postfix parameter in main.cf: myhostname, myorigin, mydomain.
- /etc/amavisd/amavisd.conf: mydomain, local_domains_maps
- Apache /etc/httpd/httpd.conf: ServerName
- /etc/awstats/*.cf: SiteDomain
- /usr/local/bin/dovecot-quota-warning.sh: "From: no-reply@[HOSTNAME]"

Thank you