It's batter to configure bind9 (DNS) before
installing zimbra.
First
let's install some prerequisites for Zimbra
#
apt-get install perl curl fetchmail libpcre3 libgmp3 libexpat1 libxml2
libtie-ixhash-perl
sudo libc6-i686 openssl libstdc++6
Afterwards,
unpack the Zimbra .tgz file and start the installer:
#
tar -xvf zcs-4.5.6_GA_1044.DEBIAN3.1.tgz
#
cd zcs/
#
./install.sh
The
installer will ask a few questions. Answer them like this:
Operations
logged to /tmp/install.log.4416
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-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/collaboration_suite_collective_license_1.0.html
Press
Return to continue <-- <ENTER>
Install
zimbra-ldap [Y] <-- <ENTER>
Install
zimbra-logger [Y] <-- <ENTER>
Install
zimbra-mta [Y] <-- <ENTER>
Install
zimbra-snmp [Y] <-- <ENTER>
Install
zimbra-store [Y] <-- <ENTER>
Install
zimbra-spell [Y] <-- <ENTER>
The
system will be modified. Continue? [N]
<-- y
Main
menu
1) Hostname: mail.example.com
2) Ldap master host: mail.example.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.example.com
****** +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.tukjrdnaco@mail.example.com
+Non-spam(Ham) training user: ham.rg8fvq6cd4@mail.example.com
+Global Documents Account: wiki@mail.example.com
+SMTP host: mail.example.com
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+Enable POP/IMAP proxy: no
+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.example.com:7780/aspell.php
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address
unconfigured (**) items (? - help)
<-- 6
Store
configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.example.com
**
4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.tukjrdnaco@mail.example.com
7) Non-spam(Ham) training user: ham.rg8fvq6cd4@mail.example.com
8) Global Documents Account: wiki@mail.example.com
9) SMTP host: mail.example.com
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: http
13) Enable POP/IMAP proxy: no
14) IMAP server port: 143
15) IMAP server SSL port: 993
16) POP server port: 110
17) POP server SSL port: 995
18) Use spell check server: yes
19) Spell server URL: http://mail.example.com:7780/aspell.php
Select,
or 'r' for previous menu [r] <-- 4
Password for admin@mail.example.com
(min 6 characters): [8BD.yZtFh] <-- [specify a password
for the admin user, e.g. howtoforge]
Select,
or 'r' for previous menu [r] <-- <ENTER>
Main
menu
1) Hostname: mail.example.com
2) Ldap master host: mail.example.com
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
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] <-- <ENTER>
Save
config in file: [/opt/zimbra/config.5762] <-- <ENTER>
Saving
config in /opt/zimbra/config.5762...Done
The
system will be modified - continue? [No] <-- y
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
(zcs-4.5.6_GA_1044.DEBIAN3.1)
The ADMIN EMAIL ADDRESS created
(admin@mail.example.com)
Notify
Zimbra of your installation? [Yes] <-- [if you want to notify Zimbra
of your installation, type y, otherwise n]
Configuration
complete - press return to exit <-- <ENTER>
That's
it already. To test if all Zimbra services are running, become the zimbra user:
#
su zimbra
and
run
#
zmcontrol status
The
output should look like this:
zimbra@mail:~$
zmcontrol status
Host
mail.example.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
If
not all services are started, run
#
zmcontrol start
Type
exit
Access
from the browser.
for
user --> http://ipaddress
for
administrator --> https://ipaddress:7170
Adding
user's through command
#
su zimbra
zmprov
ca [username@domain]
[password] [attribute] [value]
[attribute] [value]
#
zmprov ca imtiaz@mail.emergen.org imtiaz
You
can also add the user's from a file
#
vi zimbrausers
ca user1 user1pass
ca user2 user2pass
ca user3 user3pass
ca adminuser adminuserpass
zimbraIsAdminAccount TRUE
ca user4 user4pass zimbraMailAlias user_4 zimbraMailAlias
user_four zimbraMailAlias user.four
ca nopassuser
Save
a file and run
#
zmprov < zimbrausers
Configuring
external LDAP Authentication
LDAP
Filter:
[http://wiki.zimbra.com/index.php?title=LDAP_Authentication]
To
set the LDAP query filter, you will need a substitution variable and an
attribute on the external LDAP server to
search. The substitution variable is obtained from the 'Username' box
on the user login page. Possible substitution variables are (e.g., usera@domain.com):
%n = username with @ symbol - returns
'usera@domain.com'
%u = username without the @ - returns 'usera'
%d = domain - returns 'domain.com'
%D = domain as
dc=domain,dc=com - this is a common format for directories such as Active Directory and OpenLDAP
Example:
Possible
filters for ldap.
uid=%u
LDAP
Base Search.
o=corp
- Exchange 5.5
o=corp,c=us - Lotus Domino
dc=domain,dc=com - Active Directory, OpenLDAP
ou=Mail
Users,dc=domain,dc=com - Active Directory
restricting to "Mail Users" organizational
unit.
http://www.howtoforge.com/perfect_setup_xen3_debian_p4?s=6fb984c03076b8510d78e22ad3a09c48&
http://www.howtoforge.com/installing_zimbra_collaboration_suite_on_ubuntu
No comments:
Post a Comment