Hi everyone,

I just completed successful installation of a test zimbra email server for our internal usage.

Platform
Hardware: Dell Optiplex 170L PC
Memory: 1Gb
HD: 80 Gb
OS:RHEL AS 4
/boot: 100Mb
swap: 2GB
/: remaining size on disk
Zimbra: Open Source Edition ZCS 4.5.7 GA 1319.


This is how my setup look like.

Network: 192.168.0.0
Subnet Mask: 255.255.0.0

Gateway: 192.168.0.42

DNS Server: 192.168.0.11

Zimbra Test Server: 192.168.0.70 Hostname: mail.btl

Domain on DNS: btl

A record on DNS: 192.168.0.70 mail.btl
MX Record: mail.btl

Domain created on Zimbra: mail.btl

See installation steps below.

[root@mail ~]# cd /var/tmp/zcs
[root@mail zcs]# ./install.sh

Operations logged to /tmp/install.log.3348
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/collab...cense_1.0.html


Press Return to continue

Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.7p5-30.1
libidn...FOUND libidn-0.5.6-1
curl...FOUND curl-7.12.1-3
fetchmail...FOUND fetchmail-6.2.5-6
gmp...FOUND gmp-4.1.4-3
compat-libstdc++-296...FOUND compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33...FOUND compat-libstdc++-33-3.2.3-47.3
/usr/lib/libstdc++.so.5...FOUND

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


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-spell [Y] y
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
Installing packages

zimbra-core......zimbra-core-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-ldap......zimbra-ldap-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-logger......zimbra-logger-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-mta......zimbra-mta-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-snmp......zimbra-snmp-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-store......zimbra-store-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-apache......zimbra-apache-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
zimbra-spell......zimbra-spell-4.5.7_GA_1319.RHEL4-20070914180702.i386.rpm...done
Operations logged to /tmp/zmsetup.log.4155
Setting defaults... MX: mail.btl (192.168.0.70)

Interface: 192.168.0.70
Interface: 127.0.0.1
192.168.0.70
Done
Checking for port conflicts

Main menu

1) Hostname: mail.btl
2) Ldap master host: mail.btl
3) Ldap port: 389
4) Ldap password: set
5) TimeZone: (GMT-08.00) Pacific Time (US & Canada)
6) zimbra-ldap: Enabled
7) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.btl
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.wl4bubm6c6@mail.btl
+Non-spam(Ham) training user: ham.38beqzdyrm@mail.btl
+Global Documents Account: wiki@mail.btl
+SMTP host: mail.btl
+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.btl:7780/aspell.php

8) zimbra-mta: Enabled
9) zimbra-snmp: Enabled
10) zimbra-logger: Enabled
11) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items (? - help) 7


Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.btl
** 4) Admin Password UNSET
5) Enable automated spam training: yes
6) Spam training user: spam.wl4bubm6c6@mail.btl
7) Non-spam(Ham) training user: ham.38beqzdyrm@mail.btl
8) Global Documents Account: wiki@mail.btl
9) SMTP host: mail.btl
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.btl:7780/aspell.php

Select, or 'r' for previous menu [r] 4

Password for admin@mail.btl (min 6 characters): [7HVDym7TrJ] zimbra

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.btl
4) Admin Password set
5) Enable automated spam training: yes
6) Spam training user: spam.wl4bubm6c6@mail.btl
7) Non-spam(Ham) training user: ham.38beqzdyrm@mail.btl
8) Global Documents Account: wiki@mail.btl
9) SMTP host: mail.btl
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.btl:7780/aspell.php

Select, or 'r' for previous menu [r] r

Main menu

1) Hostname: mail.btl
2) Ldap master host: mail.btl
3) Ldap port: 389
4) Ldap password: set
5) TimeZone: (GMT-08.00) Pacific Time (US & Canada)
6) zimbra-ldap: Enabled
7) zimbra-store: Enabled
8) zimbra-mta: Enabled
9) zimbra-snmp: Enabled
10) zimbra-logger: Enabled
11) 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]
Save config in file: [/opt/zimbra/config.4155]
Saving config in /opt/zimbra/config.4155...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.4155
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Initializing ldap...Started slapd: pid 6643
adding new entry "cn=zimbra"

adding new entry "cn=admins,cn=zimbra"

adding new entry "uid=zimbra,cn=admins,cn=zimbra"

adding new entry "cn=zimlets,cn=zimbra"

adding new entry "cn=cos,cn=zimbra"

adding new entry "cn=servers,cn=zimbra"

adding new entry "cn=config,cn=zimbra"

adding new entry "cn=default,cn=cos,cn=zimbra"

adding new entry "cn=mime,cn=config,cn=zimbra"

adding new entry "cn=message/rfc822,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/html,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/enriched,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/plain,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=text/calendar,cn=mime,cn=config,cn=zimbra"

adding new entry "cn=all,cn=mime,cn=config,cn=zimbra"

Done
Saving CA in ldap...Done
Installing SSL certificate...Done
Creating server entry for mail.btl...Done
Setting spell check URL...Done
Setting service ports on mail.btl...Done
Adding mail.btl to zimbraMailHostPool in default COS...Done
Installing skins...
sky
bare
vanilla
steel
sand
harvest
lavender
froggy
rose
Done
Setting MTA auth host...Done
Setting TimeZone Preference...done.
Creating domain mail.btl...Done
Creating user admin@mail.btl...Done
Creating postmaster alias...Done
Creating user wiki@mail.btl...Done
Creating user spam.wl4bubm6c6@mail.btl...Done
Creating user ham.38beqzdyrm@mail.btl...Done
Setting spam training accounts...Done
Initializing store sql database...Done
Setting zimbraSmtpHostname for mail.btl...Done
Initializing logger sql database...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on mail.btl...Done
Setting up zimbra crontab...no crontab for zimbra
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 (4.5.7_GA_1319_RHEL4)
The ADMIN EMAIL ADDRESS created (admin@mail.btl)

Notify Zimbra of your installation? [Yes] No
Notification skipped
Starting servers...Done.
Installing zimlets...
com_zimbra_search
com_zimbra_date
com_zimbra_url
com_zimbra_phone
com_zimbra_email
Done
Initializing Documents...Done
Restarting tomcat...Done


Operations logged to /tmp/zmsetup.log.4155


Configuration complete - press return to exit

I have successfully created users and tested sending and receiving of emails through the web client, through zimbra desktop and through thunderbird to all internal email addresses.

Now how can i send to external addresses and receive emails from outside.

We access internet via an adsl router (Plublic IP Address obtained dynamically).

ADSL router is on another network

Network: 172.16.5.0/24

ADSL Router Inside IP: 172.16.5.254

As mentioned, outside IP obtained dynamically.

All outgoing sessions from inside hosts are natted automatically to the public IP by the adsl router. It also has an inbuilt firewall which prevents sessions from outside to inside hosts.

Networks 192.168.0.0/16 and 172.16.5.0/24 are able to communicate with each other.

We also have a domain xxxxxx.com hosted with a third party. Third party provider also hosts our email accounts, e.g: yyy@xxxxxx.com.

Our internal DNS is able to resolve domain names on the internet as well as pop and smtp servers on the internet.

How can I configure the internal test zimbra server (mail.btl) to retrieve mail from the mail server (pop.xxxxxx.com) for each individual account and to send mails through the smtp.xxxxxx.com?

I shall be grateful if someone could guide me through with this, as I am new to Zimbra.

Thanking you in anticipation.

Regards,

scott