New: howto/change.server.hostname.md.
This commit is contained in:
parent
c901a456b0
commit
06fad6431d
|
@ -0,0 +1,38 @@
|
|||
# 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
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Change server hostname</title>
|
||||
<link href="./css/markdown.css" rel="stylesheet"></head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="navigation">
|
||||
<a href="http://www.iredmail.org" target="_blank">iRedMail web site</a>
|
||||
|
||||
// <a href="./index.html">Document Index</a>
|
||||
</div><h1 id="change-server-hostname">Change server hostname</h1>
|
||||
<p>If you want to change server hostname, please also update below files to
|
||||
replace old hostname by the new one:</p>
|
||||
<h2 id="system-config-files">System config files</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p>/etc/hosts</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Debian/Ubuntu: /etc/hostname</p>
|
||||
</li>
|
||||
<li>Debian/Ubuntu: /etc/mailname</li>
|
||||
</ul>
|
||||
<h2 id="postfix">Postfix</h2>
|
||||
<ul>
|
||||
<li>/var/spool/postfix/etc/hosts</li>
|
||||
<li>/etc/postfix/main.cf (Linux/OpenBSD) or /usr/local/etc/postfix/main.cf (FreeBSD)</li>
|
||||
</ul>
|
||||
<h2 id="awstats">Awstats</h2>
|
||||
<ul>
|
||||
<li>/etc/awstats/awstats.{web,smtp}.conf</li>
|
||||
</ul>
|
||||
<h2 id="apache">Apache</h2>
|
||||
<ul>
|
||||
<li>RHEL/CentOS: /etc/httpd/conf/httpd.conf</li>
|
||||
<li>Debian/Ubuntu: /etc/apache2/apache.conf</li>
|
||||
</ul>
|
||||
<h2 id="amavisd">Amavisd</h2>
|
||||
<ul>
|
||||
<li>RHEL/CentOS, OpenBSD: /etc/amavisd/amavisd.conf</li>
|
||||
<li>Debian/Ubuntu: /etc/amavis/conf.d/50-user</li>
|
||||
<li>FreeBSD: /usr/local/etc/amavisd.conf</li>
|
||||
</ul>
|
||||
<h2 id="sogo">SOGO</h2>
|
||||
<ul>
|
||||
<li>/etc/httpd/conf.d/SOGo.conf</li>
|
||||
<li>/etc/apache2/conf.d/SOGo.conf</li>
|
||||
<li>/etc/apache2/conf-available/SOGo.conf</li>
|
||||
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-3293801-21', 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</body></html>
|
|
@ -69,6 +69,7 @@
|
|||
<li><a href="allow.user.to.send.email.without.authentication.html">Allow user to send email without authentication</a></li>
|
||||
<li><a href="amavisd.per-recipient.policy.lookup.html">Amavisd: Enable per-recipient policy lookup</a></li>
|
||||
<li><a href="change.hostname.html">Change server hostname</a></li>
|
||||
<li><a href="change.server.hostname.html">Change server hostname</a></li>
|
||||
<li><a href="dovecot.master.user.html">Dovecot Master User</a></li>
|
||||
<li><a href="enable.dnsbl.html">Enable DNSBL service in Postfix to reduce spam</a></li>
|
||||
<li><a href="force.user.to.change.password.html">Force mail user to change password in 90 days</a></li>
|
||||
|
|
Loading…
Reference in New Issue