zcs主机名设置
vi /etc/hosts192.168.56.253 mail.berlin.com.cn mailvi /etc/sysconfig/networkHOSTNAME=mail.berlin.com.cn
service sendmail stop
chkconfig --level 35 sendmail off
setenforce 0(重启失效)
vi /etc/sysconfig/selinux(永久有效)
将SELINUX=enforcing改为SELINUX=disabled
yum -y install libtool-ltdl compat-libstdc++-33 sysstat
tar -zxvf zcs-6.0.10_GA_2692.RHEL5_64.20101215170845.tgz
cd zcs-6.0.10_GA_2692.RHEL5_64.20101215170845
./install.sh --platform-override (centos上安装不加此参数,会报错)
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.28003] yes
Saving config in yes...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.05212012-020137.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.berlin.com.cn...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on mail.berlin.com.cn...done.
Adding mail.berlin.com.cn to zimbraMailHostPool in defaultCOS...done.
Installing webclient skins...
yahoo...done.
bones...done.
pebble...done.
steel...done.
tree...done.
oasis...done.
lake...done.
beach...done.
lavender...done.
hotrod...done.
smoke...done.
sky...done.
sand...done.
lemongrass...done.
zmail...done.
waves...done.
twilight...done.
bare...done.
Finished installing webclient skins.
Setting zimbraFeatureIMEnabled=FALSE...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting zimbraFeatureNotebookEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on mail.berlin.com.cn...done.
Creating domain berlin.com.cn...done.
Setting default domain name...done.
Creating domain berlin.com.cn...already exists.
Creating admin account admin@berlin.com.cn...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user wiki@berlin.com.cn...done.
Creating user spam.gtwocor2k@berlin.com.cn...done.
Creating user ham.adugkrluxx@berlin.com.cn...done.
Setting spam training accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for mail.berlin.com.cn...done.
Configuring SNMP...done.
Checking fordefault IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (6.0.10_GA_2692_CentOS5_64)
The ADMIN EMAIL ADDRESS created (admin@berlin.com.cn)
Notify Zimbra of your installation? [Yes] yes
Starting servers...done.
Installing common zimlets...
com_zimbra_email...done.
com_zimbra_cert_manager...done.
com_zimbra_url...done.
com_zimbra_dnd...done.
com_zimbra_adminversioncheck...done.
com_zimbra_bulkprovision...done.
com_zimbra_date...done.
com_zimbra_phone...done.
com_zimbra_ymemoticons...done.
Finished installing common zimlets.
Initializing Documents...done.
Restarting mailboxd...done.
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.05212012-020137.log to /opt/zimbra/log
Configuration complete - press return to exit (看到此行,证明安装成功)
su zimbra
zmcontrol status
su zimbra
zmcontrol stop
zmcontrol start
su zimbra
postqueue -p
/opt/zimbra/postfix/sbin/postsuper -d ALL (在root用户下执行)
su zimbra
postconf virtual_alias_expansion_limit
su zimbra
postconf -e virtual_alias_expansion_limit=3000
su zimbra
postcat -q Queue_ID
su zimbra
zmprov sp admin@berlin.com.cn 1233456(admin密码改为123456)
su zimbra
zmprov gaaa
su zimbra
postconf message_size_limit
/opt/zimbra/bin/zmcertmgr createca -new
/opt/zimbra/bin/zmcertmgr deployca
/opt/zimbra/bin/zmcertmgr createcrt -new -days 3650
/opt/zimbra/bin/zmcertmgr deploycrt self
/opt/zimbra/bin/zmcertmgr viewdeployedcrt
su zimbra
zmprov ms mail.berlin.com.cn zimbraRemoteManagementPort 3389
su zimbra
zmprov ms `zmhostname` zimbraImapCleartextLoginEnabled TRUE
zmprov ms `zmhostname` zimbraPop3CleartextLoginEnabled TRUE
zmprov ms `zmhostname` zimbraMtaTlsAuthOnly FALSE
zmmailboxdctl restart
su zimbra
zmlocalconfig | grep certs
data_source_trust_self_signed_certs = false
mailboxd_truststore = /opt/zimbra/java/jre/lib/security/cacerts
ssl_allow_accept_untrusted_certs = true
ssl_allow_mismatched_certs = true
ssl_allow_untrusted_certs = false
zmlocalconfig -e ssl_allow_untrusted_certs=true
zmlocalconfig -e data_source_trust_self_signed_certs=true
zmmailboxdctl restart
22、25、80、110、143、465、587、993、995、7071