开源邮件解决方案-zimbra安装教程V1.1
Author:高进波
时间:2010-6-11
description:在linux下安装功能强大的邮件系统,可用来做自己的邮件服务器,开源版本集成了病毒查杀,垃圾邮件过滤系统,功能是非常强大,本文是使用zimbra开源邮件解决方案进行制作,希望对大家有所帮助。
zimbra安装配置
zimbra功能:
* Email, contacts, calendar, and documents all in one application
* Syncs Zimbra, Yahoo! Mail and Gmail email, contacts and calendars
* Read email from any POP or IMAP email account , Hotmail or business email
* Works on Windows, Apple, or Linux desktop computers
* No limit to the size of your email storage
* It works online and offline
* Available in 20 languages
1.环境
CentOS release 5.5 (Final) x86_64
Zimbra zcs-6.0.6_GA_2330
2.下载
cd /opt wget -c http://files2.zimbra.com/downloads/6.0.6_GA/zc\ s-6.0.6_GA_2330.RHEL5_64.20100505212335.tgz
3.解压
tar xvzf zcs-6.0.6_GA_2330.RHEL5_64.20100505212335.tgz
4.修改hosts文件
vi /etc/hosts #修改为: # Do not remove the following line, or various programs # that require network functionality will fail. #127.0.0.1 localhost 192.168.18.233 gaojinbo.com mail #修改为自己的域名,IP
5.设置hostname
在linux终端输入
hostname gaojinbo.com
vi /etc/sysconfig/netowrk HOSTNAME=gaojinbo.com
6.在dns里面添加mx记录(略)
登录dns管理平台,不同域名提供商的管理平台有所不同
7.安装依赖组件
yum install sysstat
8.开始安装
cd zcs-6.0.6_GA_2330.RHEL5_64.20100505212335
./install.sh –platform-override
Operations logged to /tmp/install.log.17520
Checking for existing installation…
zimbra-ldap…NOT FOUND
zimbra-logger…NOT FOUND
zimbra-mta…NOT FOUND
zimbra-snmp…NOT FOUND
zimbra-store…NOT FOUND
zimbra-apache…NOT FOUND
zimbra-spell…NOT FOUND
zimbra-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html
Press Return to continue #这时要按回车继续安装
Checking for prerequisites…
FOUND: NPTL
FOUND: sudo-1.7.2p1-6
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites…
FOUND: perl-5.8.8
FOUND: sysstat
Prerequisite check complete.
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy
Select the packages to install
Install zimbra-ldap [Y] #按回车
Install zimbra-logger [Y] #按回车
Install zimbra-mta [Y] #按回车
Install zimbra-snmp [Y] #按回车
Install zimbra-store [Y] #按回车
Install zimbra-apache [Y] #按回车
Install zimbra-spell [Y] #按回车
Install zimbra-memcached [N] #按回车
Install zimbra-proxy [N] #按回车
Checking required space for zimbra-core
checking space for zimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
You appear to be installing packages on a platform different
than the platform for which they were built.
This platform is CentOS5_64
Packages found: RHEL5_64
This may or may not work.
Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.
Install anyway? [N] y #按y继续
The system will be modified. Continue? [N] y #按y继续
下面将自动进行安装,需要等待几分钟。。。
Removing /opt/zimbra
Removing zimbra crontab entry…done.
done.
Cleaning up zimbra init scripts…done.
Cleaning up /etc/ld.so.conf…done.
Cleaning up /etc/prelink.conf…done.
Cleaning up /etc/security/limits.conf…done.
Finished removing Zimbra Collaboration Suite.
Installing packages
zimbra-core……zimbra-core-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-ldap……zimbra-ldap-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-logger……zimbra-logger-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-mta……zimbra-mta-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-snmp……zimbra-snmp-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-store……zimbra-store-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-apache……zimbra-apache-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
zimbra-spell……zimbra-spell-6.0.6_GA_2330.RHEL5_64-20100505212335.x86_64.rpm…done
Operations logged to /tmp/zmsetup.06112010-181038.log
Installing LDAP configuration database…done.
Setting defaults… MX: aspmx.l.google.com (72.14.213.27)
Interface: 192.168.18.233
Interface: 127.0.0.1
72.14.213.27
72.14.213.27
DNS ERROR – none of the MX records for gaojinbo.com
resolve to this host
Change domain name? [Yes] no #这里输入no,因为我用的内网 ip,dns mx解析错误,前面正确配置mx记录不会有这步出现
done.
Checking for port conflicts
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@gaojinbo.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.d3gxukir@gaojinbo.com
+Non-spam(Ham) training user: ham.kd7okjvhth@gaojinbo.com
+Global Documents Account: wiki@gaojinbo.com
+SMTP host: gaojinbo.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://gaojinbo.com:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@gaojinbo.com
+Version update source email: admin@gaojinbo.com
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8 ) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? – help) 3 #这里输入3,修改密码的管理员密码
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@gaojinbo.com
** 4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.d3gxukir@gaojinbo.com
7) Non-spam(Ham) training user: ham.kd7okjvhth@gaojinbo.com
8 ) Global Documents Account: wiki@gaojinbo.com
9) SMTP host: gaojinbo.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://gaojinbo.com:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@gaojinbo.com
24) Version update source email: admin@gaojinbo.com
Select, or ‘r’ for previous menu [r] 4 #再输入 4,修改密码的管理员密码
Password for admin@gaojinbo.com (min 6 characters): [tmGoFk3d] gaojinbo #输入管理员密码gaojinbo
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@gaojinbo.com
4) Admin Password set
5) Enable automated spam training: yes
6) Spam training user: spam.d3gxukir@gaojinbo.com
7) Non-spam(Ham) training user: ham.kd7okjvhth@gaojinbo.com
8 ) Global Documents Account: wiki@gaojinbo.com
9) SMTP host: gaojinbo.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://gaojinbo.com:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@gaojinbo.com
24) Version update source email: admin@gaojinbo.com
Select, or ‘r’ for previous menu [r] #按回车,返回上级菜单
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8 ) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
*** CONFIGURATION COMPLETE – press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a #输入a,应用
Save configuration data to a file? [Yes] #回车
Save config in file: [/opt/zimbra/config.23950] #回车
Saving config in /opt/zimbra/config.23950…done.
The system will be modified – continue? [No] yes #输入yes
等待完成安装。。。。
如何管理使用zimbra邮件服务器待续。。。
完成!
六月 29th, 2010 at 19:23
写的不错,谢谢分享!
七月 22nd, 2010 at 18:18
regions first chemical
七月 22nd, 2010 at 18:22
resulted forcing generation
十月 26th, 2010 at 05:47
Novoline Online…
Book of Ra, Sizzling Hot und viele andere bekannte Slots stammen vom Hersteller Novoline, welcher mit den fast gleichnamigen Automaten Novomatic (nee, andersrum) richtig viel Asche verdient….
十一月 24th, 2010 at 07:01
This is my problem…
Amazingly webpage, I like how your website looks! The layout is amazing!…
十二月 16th, 2010 at 04:00
This is my problem…
Amazingly website, I like how your page looks! The layout is amazing!…
十二月 16th, 2010 at 06:29
valuable post…
You got a really useful blog I have been here reading for about half an hour. I am a newbie and your post is valuable for me….
十二月 23rd, 2010 at 10:39
Hello…
Nice share. I belive your website should come up much higher in the search results than where it is showing up right now….
三月 14th, 2011 at 04:13
really agreed with what they were saying and thought I would share it with you all…
was surprised by this so thought I would share it with my readers…
三月 14th, 2011 at 20:08
Your Friend & Partner…
I really think your blog is great! I’ve added a link back here; I hope that’s alright as I’d like my readers to check your site & articles out. It’s Here. Always like to honor high quality content. Great job!…
四月 24th, 2011 at 12:44
Spend some time checking over this info…
what were these guys thinking…
五月 3rd, 2011 at 04:14
Some Other Websites I Like…
[...]http://www.panicattackstreatmentcure.net/links/ Below are some totally unrelated websites to mine, however, they are really worth checking out[...]…
五月 10th, 2011 at 08:57
Related Websites…
[...]here are some other links to sites that we find everyday so here are some popular sites we like today[...]…
六月 3rd, 2011 at 02:41
My Recommended Websites…
[...]some new websites on the web we love, even if they are not related to ours. Check them out[...]…
六月 4th, 2011 at 05:45
[...] This post was mentioned on twitter [...]…
[...] Read this remaining post here [...]…
十二月 17th, 2011 at 05:23
construtora…
[...]高进波博客 – 零起点一步配置你的linux服务器,linux博客,linux教程,web架构 » Blog Archive » 开源邮件解决方案-zimbra安装教程V1.1[...]…
一月 12th, 2012 at 00:07
embroidery applique…
[...]??????????????? – ???????????????????????????linux?????????,linux??????,linux??????,web?????? » Blog Archive » ????????????????????????-zimbra????????????V1.1[...]…
一月 13th, 2012 at 01:57
nulled…
[...]高进波博客 – 零起点一步配置你的linux服务器,linux博客,linux教程,web架构 » Blog Archive » 开源邮件解决方案-zimbra安装教程V1.1[...]…
一月 13th, 2012 at 19:10
yachts Cabo, Cabo boats, Cabo fishing, Cabo yacht Charters, Cabo Boat Rentals,…
[...]高进波博客 – 零起点一步配置你的linux服务器,linux博客,linux教程,web架构 » Blog Archive » 开源邮件解决方案-zimbra安装教程V1.1[...]…
一月 27th, 2012 at 23:29
DLEWORDPRESS is Free Download Drupal module Sharing website…
[...]??????????????? – ???????????????????????????linux?????????,linux??????,linux??????,web?????? » Blog Archive » ????????????????????????-zimbra????????????V1.1[...]…