??????????

This commit is contained in:
VANQY-PC\VANQY 2015-08-14 22:10:40 +08:00
parent 7d87bf046f
commit 0dd3ad096a
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# 更改邮件服务器主机名
要在 iRedMail 被安装后更改服务器的主机名,要将以下文件中的主机名更改为新主机名:
## 系统配置文件
* `/etc/hosts`
* Debian/Ubuntu: `/etc/hostname`
* Debian/Ubuntu: `/etc/mailname`
## Postfix
* `/var/spool/postfix/etc/hosts`
* `/etc/postfix/main.cf` (Linux/OpenBSD) 或者 `/usr/local/etc/postfix/main.cf` (FreeBSD)
## Awstats
* `/etc/awstats/awstats.web.conf`
* `/etc/awstats/awstats.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`