짐브라(zimbra) 설치
host 추가
[root@mail ~]# cat /etc/hosts
10.251.8.57 mail.scbyun.com mail
필수 패키지
Checking for prerequisites...
FOUND: NPTL
MISSING: nc-1.84-22
FOUND: sudo-1.8.6p3-12
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
[root@mail zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# sh install.sh --platform-override
Operations logged to /tmp/install.log.2902
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.4.html
Do you agree with the terms of the software license agreement? [N] y
Oracle Binary Code License Agreement for the Java SE Platform Products
ORACLE AMERICA, INC. ("ORACLE"), FOR AND ON BEHALF OF ITSELF AND ITS SUBSIDIARIES
…
For inquiries please contact: Oracle America, Inc., 500 Oracle Parkway,
Redwood Shores, California 94065, USA.
Last updated May 17, 2011
Do you agree with the terms of the software license agreement? [N] y
Checking for prerequisites...
FOUND: NPTL
FOUND: nc-1.84-22
FOUND: sudo-1.8.6p3-12
FOUND: libidn-1.18-2
FOUND: gmp-4.3.1-7
FOUND: libaio-0.3.107-10
FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.10.1
FOUND: sysstat
FOUND: sqlite
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] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [N] n
Install zimbra-proxy [N] 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
The system will be modified. Continue? [N] y
Removing /opt/zimbra
Removing zimbra crontab entry...done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Server.
Installing packages
zimbra-core......zimbra-core-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-ldap......zimbra-ldap-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-logger......zimbra-logger-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-mta......zimbra-mta-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-snmp......zimbra-snmp-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-store......zimbra-store-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-apache......zimbra-apache-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
zimbra-spell......zimbra-spell-8.0.7_GA_6021.RHEL6_64-20140408123911.x86_64.rpm...done
Operations logged to /tmp/zmsetup.06092014-123525.log
Installing LDAP configuration database...done.
Setting defaults...
DNS ERROR resolving MX for mail.scbyun.com
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes
Create domain: [mail.scbyun.com] scbyun.com
MX: mail.scbyun.com (10.251.8.57)
Interface: 10.251.8.57
Interface: 127.0.0.1
Interface: ::1
done.
Checking for port conflicts
Port conflict detected: 80 (zimbra-store)
Port conflict detected: 443 (zimbra-store)
Port conflicts detected! - Press Enter/Return key to continue
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@scbyun.com
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.83oq2z4ld@scbyun.com
+Enable automated spam training: yes
+Spam training user: spam.rep10ktnn@scbyun.com
+Non-spam(Ham) training user: ham.dedvufme@scbyun.com
+SMTP host: mail.scbyun.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: https
+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://mail.scbyun.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@scbyun.com
+Version update source email: admin@scbyun.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
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@scbyun.com
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.83oq2z4ld@scbyun.com
6) Enable automated spam training: yes
7) Spam training user: spam.rep10ktnn@scbyun.com
8) Non-spam(Ham) training user: ham.dedvufme@scbyun.com
9) SMTP host: mail.scbyun.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
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://mail.scbyun.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@scbyun.com
24) Version update source email: admin@scbyun.com
Select, or 'r' for previous menu [r] 4
Password for admin@scbyun.com (min 6 characters): [o70grZ8FnI] mailpassword
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@scbyun.com
4) Admin Password set
5) Anti-virus quarantine user: virus-quarantine.83oq2z4ld@scbyun.com
6) Enable automated spam training: yes
7) Spam training user: spam.rep10ktnn@scbyun.com
8) Non-spam(Ham) training user: ham.dedvufme@scbyun.com
9) SMTP host: mail.scbyun.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
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://mail.scbyun.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@scbyun.com
24) Version update source email: admin@scbyun.com
Select, or 'r' for previous menu [r] 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
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.9875] Enter
Saving config in /opt/zimbra/config.9875...done.
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.06092014-123525.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
…
Setting up syslog.conf...done.
Starting servers...done.
Installing common zimlets...
com_zimbra_attachcontacts...done.
com_zimbra_url...done.
com_zimbra_tooltip...done.
com_zimbra_date...done.
com_zimbra_email...done.
com_zimbra_srchhighlighter...done.
com_zimbra_ymemoticons...done.
com_zimbra_webex...done.
com_zimbra_adminversioncheck...done.
com_zimbra_proxy_config...done.
com_zimbra_bulkprovision...done.
com_zimbra_attachmail...done.
com_zimbra_viewmail...done.
com_zimbra_cert_manager...done.
com_zimbra_phone...done.
com_zimbra_clientuploader...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Creating galsync account for default domain...failed.
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.0.7_GA_6021_RHEL6_64)
The ADMIN EMAIL ADDRESS created (admin@scbyun.com)
Notify Zimbra of your installation? [Yes] no
Notification skipped
Setting up zimbra crontab...done.
Moving /tmp/zmsetup.06092014-173704.log to /opt/zimbra/log
Configuration complete - press return to exit
[root@mail zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]#
[root@mail zcs-8.0.7_GA_6021.RHEL6_64.20140408123911]# su - zimbra
[zimbra@mail ~]$ zmcontrol status
Host mail.scbyun.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
mta Running
opendkim Running
snmp Running
spell Running
stats Running
zmconfigd Running
[zimbra@mail ~]$
[zimbra@mail ~]$ zmcontrol stop
Host mail.scbyun.com
Stopping vmware-ha...Done.
Stopping zmconfigd...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping ldap...Done.
[zimbra@mail ~]$
[zimbra@mail ~]$ zmcontrol start
Host mail.scbyun.com
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
[zimbra@mail ~]$ zmcontrol status
Host mail.scbyun.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
opendkim Running
snmp Running
spell Running
stats Running
zmconfigd Running
[zimbra@mail ~]$
zimbra 관리자 페이지
http://mail.scbyun.com:7071/
첨부파일 용량 변경(20MB)
[zimbra@mail ~]$ zmprov mcf zimbraMtaMaxMessageSize 20480000
계정 생성
[zimbra@mail ~]$ zmprov ca user11@scbyun.com password1! displayName user11
[zimbra@mail ~]$ zmprov ca user12@scbyun.com password1! displayName user12
[zimbra@mail ~]$ zmprov ca user13@scbyun.com password1! displayName user13
그룹 생성(메일링)
[zimbra@mail ~]$ zmprov cdl ng11@scbyun.com
그룹 메일에 구성원 추가
[zimbra@mail ~]$ zmprov adlm ng11@scbyun.com user11@scbyun.com
[zimbra@mail ~]$ zmprov adlm ng11@scbyun.com user12@scbyun.com user13@scbyun.com
전체 그룹 메일 리스트
[zimbra@mail ~]$ zmprov gadl
ng11@scbyun.com
[zimbra@mail ~]$ zmprov gdl ng11@scbyun.com
# distributionList ng11@scbyun.com memberCount=3
mail: ng11@scbyun.com
objectClass: zimbraDistributionList
objectClass: zimbraMailRecipient
uid: ng11
zimbraCreateTimestamp: 20140609090645Z
zimbraId: bf7eb0f6-fca0-4f57-940a-e73e37a8b7e9
zimbraMailAlias: ng11@scbyun.com
zimbraMailForwardingAddress: user11@scbyun.com
zimbraMailForwardingAddress: user12@scbyun.com
zimbraMailForwardingAddress: user13@scbyun.com
zimbraMailHost: mail.scbyun.com
zimbraMailStatus: enabled
members
user11@scbyun.com
user12@scbyun.com
user13@scbyun.com
[zimbra@mail ~]$ zmprov gdlm ng11@scbyun.com
# distributionList ng11@scbyun.com memberCount=3
members
user11@scbyun.com
user12@scbyun.com
user13@scbyun.com
http://blog.naver.com/PostView.nhn?blogId=junix&logNo=80129827372
http://www.server-world.info/en/note?os=CentOS_6&p=zimbra
'리눅스' 카테고리의 다른 글
netstat 명령어 (0) | 2013.11.18 |
---|---|
dd 명령어 (2) | 2013.11.15 |
SSH 접속 시 RSA 공개키(ECDSA) 충돌 문제를 해결하는 방법 (0) | 2013.11.14 |
[리눅스] vim & vim 명령어 (1) | 2013.11.14 |
D-Bus 데몬 오류 (0) | 2013.11.12 |