CentOS 58 Zimbra邮件系统安装与配置.docx
- 文档编号:18099609
- 上传时间:2023-08-13
- 格式:DOCX
- 页数:19
- 大小:723.27KB
CentOS 58 Zimbra邮件系统安装与配置.docx
《CentOS 58 Zimbra邮件系统安装与配置.docx》由会员分享,可在线阅读,更多相关《CentOS 58 Zimbra邮件系统安装与配置.docx(19页珍藏版)》请在冰点文库上搜索。
CentOS58Zimbra邮件系统安装与配置
CentOS5.8Zimbra邮件系统安装与配置
一、系统环境
拓朴图:
系 统
域 名
服务器
客户端
CentOS5.8_64bit
mail.zimbra.org
10.10.10.254
10.10.10.110
二、基本配置
1、配置IP
[root@localhost~]#vim/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.10.10.254
NETMASK=255.255.255.0
:
wq
[root@localhost~]#servicenetworkrestart
2、配置DNS文件
[root@localhost~]#vim/etc/resolv.conf
nameserver10.10.10.254
3、配置hosts文件
[root@localhost~]#vim/etc/hosts
127.0.0.1 localhost.localdomainlocalhost
10.10.10.254 mail.zimbra.org
4、配置主机名:
mail.zimbra.org
[root@localhost~]#vim/etc/sysconfig/network
HOSTNAME=mail.zimbra.org
:
wq 保存
[root@localhost~]#hostnamemail.zimbra.org
断开终端,再次连接,这样就需要重新启动系统:
ctrl+d
[root@mail~]#hostname
mail.zimbra.org
5、SELinux关闭、LINUX关闭防火墙
SELinux关闭
1.永久方法 – 需要重启服务器
修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。
2.临时方法 – 设置系统参数
使用命令setenforce0
LINUX关闭防火墙
1.重启后永久性生效:
开启:
chkconfigiptableson
关闭:
chkconfigiptablesoff
2.即时生效,重启后失效:
开启:
serviceiptablesstart
关闭:
serviceiptablesstop
三、安装所需依赖rpm包
[root@mail~]#yuminstalllibtool-ltdlcompat-libstdc++-33sysstat
四、安装bind(DNS)
[root@mail~]#yuminstallbind-libsypbindbind-chrootbindbind-utilscaching-nameserver
1、配置named文件
[root@mail~]#cd/var/named/chroot/etc/
[root@mailetc]#cp-pnamed.caching-nameserver.confnamed.conf
[root@mailetc]#cpnamed.confnamed.confbak
[root@mailetc]#vimnamed.conf
修改:
行数
15 listen-onport53{ any;};
27 allow-query { any;};
28 allow-query-cache{ any;};
37 match-clients { any;};
38 match-destinations{ any;};
:
wq
[root@Zmailetc]#cpnamed.rfc1912.zonesnamed.rfc1912.zonesbak
[root@mailetc]#vimnamed.rfc1912.zones
复制修改以下内容:
21zone"localhost"IN{
22 typemaster;
23 file"localhost.zone";
24 allow-update{none;};
25};
修改如下:
27zone"zimbra.org"IN{
28 typemaster;
29 file"zimbra.org.zone";
30 allow-update{none;};
31};
:
wq
2、进入named目录
[root@mailetc]#cd../var/named/
[root@mailnamed]#pwd
/var/named/chroot/var/named
3、创建zone文件
[root@mailnamed]#cp-plocalhost.zonezimbra.org.zone
[root@mailnamed]#cpzimbra.org.zonezimbra.org.zonebak
[root@mailnamed]#vimzimbra.org.zone
$TTL 86400
@ INSOA mx.zimbra.org. root(
42 ;serial(d.adams)
3H ;refresh
15M ;retry
1W ;expiry
1D) ;minimum
@ INNS mx.zimbra.org.
@ INA 10.10.10.254
mx INA 10.10.10.254
mail INA 10.10.10.254
@ INMX10 mail
:
wq
4、测试DNS
[root@mailnamed]#nslookup
> settype=mx
> zimbra.org
Server:
202.96.128.166
Address:
202.96.128.166#53
Non-authoritativeanswer:
zimbra.org mailexchanger=10.
Authoritativeanswerscanbefoundfrom:
zimbra.org nameserver=.
zimbra.org nameserver=.
5、启动named
[root@mailnamed]#servicenamedrestart
[root@Zimailnamed]#chkconfignamedon
五、关闭sendmail,并不随机启动或者卸载
[root@mailnamed]#servicesendmailstop
[root@mailnamed]#chkconfigsendmailoff
六、安装zimbra
下载:
[root@mail~]#tar-zxvfzcs-7.1.3_GA_3346.RHEL5_64.20110928134520.tgz-C/usr/local/src/
[root@mail~]#cd/usr/local/src/
[root@mailsrc]#cdzcs-7.1.3_GA_3346.RHEL5_64.20110928134520/
[root@mailzcs-7.1.3_GA_3346.RHEL5_64.20110928134520]#./install.sh--platform-override
Operationsloggedto/tmp/install.log.29062
Checkingforexistinginstallation...
zimbra-ldap...NOTFOUND
。
。
。
。
。
。
。
。
(略)
zimbra-core...NOTFOUND
PLEASEREADTHISAGREEMENTCAREFULLYBEFOREUSINGTHESOFTWARE.
ZIMBRA,INC.("ZIMBRA")WILLONLYLICENSETHISSOFTWARETOYOUIFYOU
FIRSTACCEPTTHETERMSOFTHISAGREEMENT.BYDOWNLOADINGORINSTALLING
THESOFTWARE,ORUSINGTHEPRODUCT,YOUARECONSENTINGTOBEBOUNDBY
THISAGREEMENT.IFYOUDONOTAGREETOALLOFTHETERMSOFTHIS
AGREEMENT,THENDONOTDOWNLOAD,INSTALLORUSETHEPRODUCT.
LicenseTermsfortheZimbraCollaborationSuite:
Doyouagreewiththetermsofthesoftwarelicenseagreement?
[N] y
Checkingforprerequisites...
FOUND:
NPTL
。
。
。
。
。
。
。
。
(略)
Foundzimbra-proxy
Selectthepackagestoinstall
Installzimbra-ldap[Y] y
Installzimbra-logger[Y] y
Installzimbra-mta[Y] y
Installzimbra-snmp[Y] y
Installzimbra-store[Y] y
Installzimbra-apache[Y] y
Installzimbra-spell[Y] y
Installzimbra-memcached[N] y
Installzimbra-proxy[N] n
Checkingrequiredspaceforzimbra-core
checkingspaceforzimbra-store
Installing:
zimbra-core
。
。
。
。
。
。
。
。
(略)
zimbra-spell
zimbra-memcached
Youappeartobeinstallingpackagesonaplatformdifferent
thantheplatformforwhichtheywerebuilt.
ThisplatformisCentOS5_64
Packagesfound:
RHEL5_64
Thismayormaynotwork.
Usingpackagesforaplatforminwhichtheywerenotdesignedfor
mayresultinaninstallationthatisNOTusable.Yoursupport
optionsmaybelimitedifyouchoosetocontinue.
Installanyway?
[N] y
Thesystemwillbemodified. Continue?
[N] y
Removing/opt/zimbra
Removingzimbracrontabentry...done.
done.
。
。
。
。
。
。
。
。
(略).
FinishedremovingZimbraCollaborationSuite.
Installingpackages
zimbra-core......zimbra-core-7.1.3_GA_3346.RHEL5_64-20110928134520.x86_64.rpm...done
。
。
。
。
。
。
。
。
(略)
Operationsloggedto/tmp/zmsetup.01022013-145607.log
InstallingLDAPconfigurationdatabase...done.
Settingdefaults...
DNSERRORresolvingMXformail.zimbra.org
ItissuggestedthatthedomainnamehaveanMXrecordconfiguredinDNS
Changedomainname?
[Yes] y
Createdomain:
[mail.zimbra.org] zimbra.org #设置域名
MX:
mail.zimbra.org(10.10.10.254)
Interface:
10.10.10.254
Interface:
127.0.0.1
done.
Checkingforportconflicts
Mainmenu
1)CommonConfiguration:
2)zimbra-ldap:
Enabled
3)zimbra-store:
Enabled
+CreateAdminUser:
yes
+Adminusertocreate:
admin@zimbra.org
*******+AdminPassword UNSET
+Anti-virusquarantineuser:
virus-quarantine.kqhru87ko@zimbra.org
+Enableautomatedspamtraining:
yes
+Spamtraininguser:
spam.0yxtjbeb@zimbra.org
+Non-spam(Ham)traininguser:
ham.gl0urd64@zimbra.org
+SMTPhost:
mail.zimbra.org
+WebserverHTTPport:
80
+WebserverHTTPSport:
443
+Webservermode:
http
+IMAPserverport:
143
+IMAPserverSSLport:
993
+POPserverport:
110
+POPserverSSLport:
995
+Usespellcheckserver:
yes
+SpellserverURL:
http:
//mail.zimbra.org:
7780/aspell.php
+Configureforusewithmailproxy:
FALSE
+Configureforusewithwebproxy:
FALSE
+Enableversionupdatechecks:
TRUE
+Enableversionupdatenotifications:
TRUE
+Versionupdatenotificationemail:
admin@zimbra.org
+Versionupdatesourceemail:
admin@zimbra.org
4)zimbra-mta:
Enabled
5)zimbra-snmp:
Enabled
6)zimbra-logger:
Enabled
7)zimbra-spell:
Enabled
8)DefaultClassofServiceConfiguration:
r)Startserversafterconfiguration yes
s)Saveconfigtofile
x)Expandmenu
q)Quit
Addressunconfigured(**)items (?
-help) 3 #设置网页管理端admin的登录密码
Storeconfiguration
1)Status:
Enabled
2)CreateAdminUser:
yes
3)Adminusertocreate:
admin@zimbra.org
**4)AdminPassword UNSET
5)Anti-virusquarantineuser:
virus-quarantine.kqhru87ko@zimbra.o
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CentOS 58 Zimbra邮件系统安装与配置 Zimbra 邮件系统 安装 配置