Membuat mailserver kantor dengan zimbra dan internet speedy

Case studies ini pada perusahaan menengah dengan jumlah karyawan 25 orang dan berkeinginan memiliki sendiri mailserver pada kantor mereka. Ada banyak sisi positif jika menempatkan mailserver pada kantor sendiri daripada meng host di tempat lain. Untuk urusan keperluan IT kantor ini sudah memiliki komputer desktop dan server proxy,printer,internet. Semua sudah tersambung dalam jaringan Local Area Network, tinggal mailserver yang akan di setup disana. Internet memakai Telkom Speedy tersambung dengan Proxy server dimana proses access filtering sangat ketat, salah satunya hanya membolehkan membuka email kantor, email pribadi dan gratisan tidak diperkenankan. Direkturnya yang juga melek IT meminta saya membuat mailserver pakai Zimbra dengan topology existing yang sudah ada. Dia tanya perlu apa saja untuk keperluan diatas ? Saya jawab saya minta 1 unit komputer dan akses ke modem,server proxy dan domain manager perusahaannya. Setelah dipenuhi semuanya dia minta setengah hari harus jadi. Kondisi pada perusahaan ini untuk memiliki mailserver adalah tidak memiliki ip public (static) dikarenakan memakai layanan internet Speedy dengan IP Dynamic(berubah-rubah). Hal ini tidak menjadi kendala dan bisa diatasin dengan menggunakan fasilitas free dari Zoneedit.com yang dapat mengupdate domain perusahaan agar selalu mengarah ke ip dynamic Internet Speedy. Jadi Zimbra diset tanpa ip public dan melakukan MTA Relay ke SMTP Telkom(smtp.telkom.net). Step by step secara lengkap akan saya jabarkan di artikel ini sbb :

  1. Registrasi domain kantor ini ke zoneedit.com sebagai Managed DNS Service dan support Dynamic DNS. Jadi bisa mengupdate IP Speedy yang berubah-rubah. Add MX untuk domain perusahaan dan IP Address(A). Semua dilakukan pada control panel Zoneedit setelah kita berhasil registrasi.
  2. Mengganti nameserver domain perusahaan ini ke nameserver Zoneedit yang diberikan saat registrasi sebelumnya. Ini harus masuk ke domain manager perusahaan ini dimana diregister pertama kali.
  3. Re-setting Modem Speedy Sanex ADSL-SA 5100 untuk option Virtual Server dan DMZ diarahkan ke server proxy.
  4. Download dan Install Dynamic dns clients yang disupport oleh zoneedit .
  5. Menambah forwarding IP dan Port Policy pada server proxy ke server zimbra. Dalam hal ini port yang yang harus diforward ke IP Zimbra adalah Postfix 25,HTTP 80,POP3 110,IMAP 143,LDAP 389,HTTPS 443,Tomcat IMAP SSL 993,Tomcat POP SSL 995,Tomcat LMTP 7025,7306,7307
  6. Install Sistem operasi Linux dan Deploy Zimbra Open Source Edition ke server mailserver.
  7. Testing kirim dan terima email mengunakan webmail dan mail client.

Okay sekarang saatnya melihat proses instalasi dan konfigurasi berupa text dan capture gambar yang sempat saya dokumentasikan :

Kondisi IP Devices dan Sistem Operasi

  1. Modem Speedy Sanex ADSL-SA 5100 dengan IP 10.10.10.1
  2. Server OS Linux distro Debian 5.0.5 dengan proxy Squid 3.1 dengan IP eth0 10.10.10.10, eth1 192.168.1.1
  3. Server OS Linux distro Debian 5.0.5 dengan Zimbra Open Sources 6.0.7 dengan IP 192.168.1.82

Tahap I
Registrasi domain perusahaan ini ke http://www.zoneedit.com
Create zone domain perusahaan dan, MX dan IP Address (A)

Tahap II

Mengganti nameserver domain perusahaan ini ke nameserver zoneedit dalam case studies ini ns13.zoneedit.com 66.223.40.121 dan
ns9.zoneedit.com 66.240.231.42

Tahap III

Re-setting Modem Speedy Sanex ADSL-SA 5100 :

Login ke IP modem Speedy 10.10.10.1

Advance——-> Virtual Server——–>Services

Advance——-> Virtual Server——–>DMZ

Tahap IV

Login ke Server Proxy 10.1.10.10, 192.168.1.1

Menambah forwarding IP dan Port Policy pada server proxy ke server zimbra. Dalam hal ini port yang yang harus diforward ke IP Zimbra adalah Postfix 25,HTTP 80,POP3 110,IMAP 143,LDAP 389,HTTPS 443,Tomcat IMAP SSL 993,Tomcat POP SSL 995,Tomcat LMTP 7025,7306,7307

Set IP dan Port forwarding ke IP Zimbra 192.168.1.82

# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 110 -j DNAT –to 192.168.1.82:110
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 25 -j DNAT –to 192.168.1.82:25
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 143 -j DNAT –to 192.168.1.82:143
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 443 -j DNAT –to 192.168.1.82:443
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 80 -j DNAT –to 192.168.1.82:80
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 993 -j DNAT –to 192.168.1.82:993
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 995 -j DNAT –to 192.168.1.82:995
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 7025 -j DNAT –to 192.168.1.82:7025
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 7306 -j DNAT –to 192.168.1.82:7306
# iptables -A PREROUTING -t nat -i eth0 -p tcp –dport 7307 -j DNAT –to 192.168.1.82:7307
# iptables -A INPUT -p tcp -m state –state NEW –dport 25 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 110 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 143 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 443 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 80 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 993 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 995 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 7025 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 7306 -i eth0 -j ACCEPT
# iptables -A INPUT -p tcp -m state –state NEW –dport 7307 -i eth0 -j ACCEPT

Tahap V

Install Sistem operasi Linux dan Deploy Zimbra Open Source Edition ke server mailserver. Dalam hal ini instalasi Linux Debian 5.05 (Lenny) sudah selesai dan tinggal melanjutkan ke Deploy Zimbra 6.0.7

mail:/home/gtoms# cat /etc/debian_version
5.0.5

mail:/home/gtoms# uname -a
Linux mail 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686 GNU/Linux

mail:/home/gtoms# nano /etc/hosts
127.0.0.1 localhost
192.168.1.82 mail.xyxyxyxy.com mail

mail:/home/gtoms# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:1e:8c:25
inet addr:192.168.1.82 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe1e:8c25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:349684 errors:0 dropped:0 overruns:0 frame:0
TX packets:221465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:478596197 (456.4 MiB) TX bytes:19847969 (18.9 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1392 (1.3 KiB) TX bytes:1392 (1.3 KiB)

Instalasi DNS Server menggunakan BIND

mail:/home/gtoms# apt-get install -y bind9
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
bind9utils
Suggested packages:
bind9-doc resolvconf ufw
The following NEW packages will be installed:
bind9 bind9utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 380kB of archives.
After this operation, 1147kB of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main bind9utils 1:9.6.ESV.R1+dfsg-0+lenny2 [104kB]
Get:2 http://security.debian.org lenny/updates/main bind9 1:9.6.ESV.R1+dfsg-0+lenny2 [276kB]
Fetched 380kB in 11s (33.9kB/s)
Preconfiguring packages …
Selecting previously deselected package bind9utils.
(Reading database … 19153 files and directories currently installed.)
Unpacking bind9utils (from …/bind9utils_1%3a9.6.ESV.R1+dfsg-0+lenny2_i386.deb) …
Selecting previously deselected package bind9.
Unpacking bind9 (from …/bind9_1%3a9.6.ESV.R1+dfsg-0+lenny2_i386.deb) …
Processing triggers for man-db …
Setting up bind9utils (1:9.6.ESV.R1+dfsg-0+lenny2) …
Setting up bind9 (1:9.6.ESV.R1+dfsg-0+lenny2) …
Adding group `bind’ (GID 106) …
Done.
Adding system user `bind’ (UID 104) …
Adding new user `bind’ (UID 104) with group `bind’ …
Not creating home directory `/var/cache/bind’.
wrote key file “/etc/bind/rndc.key”
#
Starting domain name service…: bind9.

Menambah zona domain perusahaan ke BIND

mail:/etc/bind# nano named.conf

zone “localhost” {
type master;
file “/etc/bind/db.local”;
};

zone “127.in-addr.arpa” {
type master;
file “/etc/bind/db.127”;
};

zone “0.in-addr.arpa” {
type master;
file “/etc/bind/db.0”;
};

zone “255.in-addr.arpa” {
type master;
file “/etc/bind/db.255”;
};

zone “mail.xyxyxyxy.com” {
type master;
file “/etc/bind/db.mail.xyxyxyxy.com”;
};

include “/etc/bind/named.conf.local”;

mail:/etc/bind# nano db.mail.xyxyxyxy.com

$TTL 86400

@ IN SOA mail.xyxyxyxy.com. admin.mail.xyxyxyxy.com. (
2010080700 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ; Minimum
)

; Define the nameservers and the mail servers

IN NS 192.168.1.82
IN A 192.168.1.82
IN MX 10 mail.xyxyxyxy.com.

webmail IN A 192.168.1.82
mail IN A 192.168.1.82

mail:/etc/bind# /etc/init.d/bind9 restart
Stopping domain name service…: bind9.
Starting domain name service…: bind9.

mail:/etc/bind# tail -f /var/log/syslog
Aug 7 19:33:43 mail named[2615]: command channel listening on 127.0.0.1#953
Aug 7 19:33:43 mail named[2615]: command channel listening on ::1#953
Aug 7 19:33:43 mail named[2615]: zone 0.in-addr.arpa/IN: loaded serial 1
Aug 7 19:33:43 mail named[2615]: zone 127.in-addr.arpa/IN: loaded serial 1
Aug 7 19:33:43 mail named[2615]: zone 255.in-addr.arpa/IN: loaded serial 1
Aug 7 19:33:43 mail named[2615]: zone mail.xyxyxyxy.com/IN: NS ‘192.168.1.82.mail.xyxyxyxy.com’ has no address records (A or AAAA)
Aug 7 19:33:43 mail named[2615]: zone mail.xyxyxyxy.com/IN: loaded serial 2010080700
Aug 7 19:33:43 mail named[2615]: zone localhost/IN: loaded serial 2
Aug 7 19:33:43 mail named[2615]: running
Aug 7 19:33:43 mail named[2615]: zone mail.xyxyxyxy.com/IN: sending notifies (serial 2010080700)
^C

mail:/home/gtoms# ping mail.xyxyxyxy.com
PING mail.xyxyxyxy.com (192.168.1.82) 56(84) bytes of data.
64 bytes from mail.xyxyxyxy.com (192.168.1.82): icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from mail.xyxyxyxy.com (192.168.1.82): icmp_seq=2 ttl=64 time=0.025 ms
64 bytes from mail.xyxyxyxy.com (192.168.1.82): icmp_seq=3 ttl=64 time=0.027 ms
^C
— mail.xyxyxyxy.com ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.019/0.023/0.027/0.006 ms
mail:/home/gtoms# host -t mx mail.xyxyxyxy.com
mail.xyxyxyxy.com mail is handled by 10 mail.xyxyxyxy.com.

Install file-file yang berhubungan dengan Zimbra ang belum terinstall saat pertama kali menginstall Linux Debian 5.0.5

mail:/etc/bind# apt-get install libc6-i686 sudo libidn11 curl fetchmail libgmp3c2 libexpat1 libgetopt-mixed-perl libxml2 libstdc++6 libpcre3 libltdl3 flex sysstat
Reading package lists… Done
Building dependency tree
Reading state information… Done
libc6-i686 is already the newest version.
sudo is already the newest version.
libidn11 is already the newest version.
libxml2 is already the newest version.
libstdc++6 is already the newest version.
libpcre3 is already the newest version.
The following extra packages will be installed:
binutils ca-certificates cpp cpp-4.3 gcc gcc-4.3 libc6-dev libcurl3 libgomp1 libmpfr1ldbl libssh2-1 linux-libc-dev openssl
Suggested packages:
binutils-doc cpp-doc gcc-4.3-locales fetchmailconf exim4 mail-transport-agent resolvconf bison gcc-multilib make manpages-dev autoconf automake1.9
libtool gdb gcc-doc gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc
The following NEW packages will be installed:
binutils ca-certificates cpp cpp-4.3 curl fetchmail flex gcc gcc-4.3 libc6-dev libcurl3 libexpat1 libgetopt-mixed-perl libgmp3c2 libgomp1 libltdl3
libmpfr1ldbl libssh2-1 linux-libc-dev openssl
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.3MB of archives.
After this operation, 46.2MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirror.unej.ac.id lenny/main flex 2.5.35-6 [314kB]
Get:2 http://mirror.unej.ac.id lenny/main binutils 2.18.1~cvs20080103-7 [2686kB]
Get:3 http://mirror.unej.ac.id lenny/main openssl 0.9.8g-15+lenny7 [1034kB]
Get:4 http://mirror.unej.ac.id lenny/main ca-certificates 20080809 [151kB]
Get:5 http://mirror.unej.ac.id lenny/main libgmp3c2 2:4.2.2+dfsg-3 [231kB]
Get:6 http://mirror.unej.ac.id lenny/main libmpfr1ldbl 2.3.1.dfsg.1-2 [339kB]
Get:7 http://mirror.unej.ac.id lenny/main cpp-4.3 4.3.2-1.1 [3087kB]
Get:8 http://mirror.unej.ac.id lenny/main cpp 4:4.3.2-2 [13.9kB]
Get:9 http://mirror.unej.ac.id lenny/main libssh2-1 0.18-1 [64.3kB]
Get:10 http://mirror.unej.ac.id lenny/main libcurl3 7.18.2-8lenny4 [228kB]
Get:11 http://mirror.unej.ac.id lenny/main curl 7.18.2-8lenny4 [208kB]
Get:12 http://mirror.unej.ac.id lenny/main fetchmail 6.3.9~rc2-4+lenny2 [653kB]
Get:13 http://mirror.unej.ac.id lenny/main libgomp1 4.3.2-1.1 [13.2kB]
Get:14 http://mirror.unej.ac.id lenny/main gcc-4.3 4.3.2-1.1 [2747kB]
Get:15 http://mirror.unej.ac.id lenny/main gcc 4:4.3.2-2 [5008B]
Get:16 http://mirror.unej.ac.id lenny/main linux-libc-dev 2.6.26-24 [768kB]
Get:17 http://mirror.unej.ac.id lenny/main libc6-dev 2.7-18lenny4 [3387kB]
Get:18 http://mirror.unej.ac.id lenny/main libexpat1 2.0.1-4+lenny3 [132kB]
Get:19 http://mirror.unej.ac.id lenny/main libgetopt-mixed-perl 1.008-10 [19.3kB]
Get:20 http://mirror.unej.ac.id lenny/main libltdl3 1.5.26-4+lenny1 [177kB]
Fetched 16.3MB in 2min59s (90.6kB/s)
Preconfiguring packages …
Selecting previously deselected package flex.
(Reading database … 19216 files and directories currently installed.)
Unpacking flex (from …/flex_2.5.35-6_i386.deb) …
Selecting previously deselected package binutils.
Unpacking binutils (from …/binutils_2.18.1~cvs20080103-7_i386.deb) …
Selecting previously deselected package openssl.
Unpacking openssl (from …/openssl_0.9.8g-15+lenny7_i386.deb) …
Selecting previously deselected package ca-certificates.
Unpacking ca-certificates (from …/ca-certificates_20080809_all.deb) …
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from …/libgmp3c2_2%3a4.2.2+dfsg-3_i386.deb) …
Selecting previously deselected package libmpfr1ldbl.
Unpacking libmpfr1ldbl (from …/libmpfr1ldbl_2.3.1.dfsg.1-2_i386.deb) …
Selecting previously deselected package cpp-4.3.
Unpacking cpp-4.3 (from …/cpp-4.3_4.3.2-1.1_i386.deb) …
Selecting previously deselected package cpp.
Unpacking cpp (from …/cpp_4%3a4.3.2-2_i386.deb) …
Selecting previously deselected package libssh2-1.
Unpacking libssh2-1 (from …/libssh2-1_0.18-1_i386.deb) …
Selecting previously deselected package libcurl3.
Unpacking libcurl3 (from …/libcurl3_7.18.2-8lenny4_i386.deb) …
Selecting previously deselected package curl.
Unpacking curl (from …/curl_7.18.2-8lenny4_i386.deb) …
Selecting previously deselected package fetchmail.
Unpacking fetchmail (from …/fetchmail_6.3.9~rc2-4+lenny2_i386.deb) …
Selecting previously deselected package libgomp1.
Unpacking libgomp1 (from …/libgomp1_4.3.2-1.1_i386.deb) …
Selecting previously deselected package gcc-4.3.
Unpacking gcc-4.3 (from …/gcc-4.3_4.3.2-1.1_i386.deb) …
Selecting previously deselected package gcc.
Unpacking gcc (from …/gcc_4%3a4.3.2-2_i386.deb) …
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from …/linux-libc-dev_2.6.26-24_i386.deb) …
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from …/libc6-dev_2.7-18lenny4_i386.deb) …
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from …/libexpat1_2.0.1-4+lenny3_i386.deb) …
Selecting previously deselected package libgetopt-mixed-perl.
Unpacking libgetopt-mixed-perl (from …/libgetopt-mixed-perl_1.008-10_all.deb) …
Selecting previously deselected package libltdl3.
Unpacking libltdl3 (from …/libltdl3_1.5.26-4+lenny1_i386.deb) …
Processing triggers for man-db …
Setting up flex (2.5.35-6) …
Setting up binutils (2.18.1~cvs20080103-7) …
Setting up openssl (0.9.8g-15+lenny7) …
Setting up ca-certificates (20080809) …
Updating certificates in /etc/ssl/certs….done.
Running hooks in /etc/ca-certificates/update.d….done.
Setting up libgmp3c2 (2:4.2.2+dfsg-3) …
Setting up libmpfr1ldbl (2.3.1.dfsg.1-2) …
Setting up cpp-4.3 (4.3.2-1.1) …
Setting up cpp (4:4.3.2-2) …
Setting up libssh2-1 (0.18-1) …
Setting up libcurl3 (7.18.2-8lenny4) …
Setting up curl (7.18.2-8lenny4) …
Setting up fetchmail (6.3.9~rc2-4+lenny2) …
Adding system user `fetchmail’ (UID 105) …
Adding new user `fetchmail’ (UID 105) with group `nogroup’ …
Creating home directory `/var/lib/fetchmail’ …
usermod: no changes
Edit /etc/default/fetchmail to start fetchmail
Setting up libgomp1 (4.3.2-1.1) …
Setting up gcc-4.3 (4.3.2-1.1) …
Setting up gcc (4:4.3.2-2) …
Setting up linux-libc-dev (2.6.26-24) …
Setting up libc6-dev (2.7-18lenny4) …
Setting up libexpat1 (2.0.1-4+lenny3) …
Setting up libgetopt-mixed-perl (1.008-10) …
Setting up libltdl3 (1.5.26-4+lenny1) …
mail:/etc/bind#

DEPLOY Zimbra Collaboration Suite Open Source Edition :

mail:/etc/bind# cd /home/gtoms

mail:/home/gtoms# wget http://files2.zimbra.com/downloads/6.0.7_GA/zcs-6.0.7_GA_2473.DEBIAN5.20100616212143.tgz

mail:/home/gtoms# ls
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143.tgz

mail:/home/gtoms# tar xvfz zcs-6.0.7_GA_2473.DEBIAN5.20100616212143.tgz
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/readme_source_en_US.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/addUser.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/globals.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/modules/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/modules/postinstall.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/modules/packages.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/modules/getconfig.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/util/utilfunc.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/readme_binary_en_US.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/data/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/data/versions-init.sql
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/zcl.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/ZCS_Toaster.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/Import_Wizard_Outlook.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/MigrationWizard_Domino.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/RNZCSO_2005Beta.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/User Instructions for ZCS Import Wizard.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/Zimbra Schema.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/Zimbra iCalendar Migration Guide.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/admin.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/OSmultiserverinstall.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/quick_start.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/ZWC User Guide_6_0.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/MigrationWizard.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/en_US/Zimbra_Release_Note.pdf
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/zimbra_public_eula_2.1.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/docs/YPL.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/README.txt
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/bin/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/bin/get_plat_tag.sh
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/bin/zmdbintegrityreport
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-snmp_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-apache_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-memcached_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-ldap_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-spell_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-mta_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-core_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-proxy_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-store_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/packages/zimbra-logger_6.0.7_GA_2473.DEBIAN5_i386.deb
zcs-6.0.7_GA_2473.DEBIAN5.20100616212143/install.sh
mail:/home/gtoms#

mail:/home/gtoms# cd zcs-6.0.7_GA_2473.DEBIAN5.20100616212143
mail:/home/gtoms/zcs-6.0.7_GA_2473.DEBIAN5.20100616212143# ls
bin data docs install.sh packages readme_binary_en_US.txt readme_source_en_US.txt README.txt util

mail:/home/gtoms/zcs-6.0.7_GA_2473.DEBIAN5.20100616212143# ./install.sh

Operations logged to /tmp/install.log.4555
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.6.9p17-3
FOUND: libidn11-1.8+20080606-1
FOUND: libpcre3-7.6-2.1
FOUND: libgmp3c2-2:4.2.2+dfsg-3
FOUND: libexpat1-2.0.1-4+lenny3
FOUND: libstdc++6-4.3.2-1.1
Checking for suggested prerequisites…
FOUND: perl-5.10.0
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] y

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
zimbra-memcached

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 Suite.

Installing packages

zimbra-core……zimbra-core_6.0.7_GA_2473.DEBIAN5_i386.deb…done
zimbra-ldap……zimbra-ldap_6.0.7_GA_2473.DEBIAN5_i386.deb…done
zimbra-logger……zimbra-logger_6.0.7_GA_2473.DEBIAN5_i386.deb…done
zimbra-mta……zimbra-mta_6.0.7_GA_2473.DEBIAN5_i386.deb…done
zimbra-snmp……zimbra-snmp_6.0.7_GA_2473.DEBIAN5_i386.deb…done
zimbra-store……zimbra-store_6.0.7_GA_2473.DEBIAN5_i386.deb…

———————skip———————

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@mail.xyxyxyxy.com
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.r8qa_lir@mail.xyxyxyxy.com
+Non-spam(Ham) training user: ham.ghop_irqqb@mail.xyxyxyxy.com
+Global Documents Account: wiki@mail.xyxyxyxy.com
+SMTP host: mail.xyxyxyxy.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://mail.xyxyxyxy.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@mail.xyxyxyxy.com
+Version update source email: admin@mail.xyxyxyxy.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

Store configuration

1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.xyxyxyxy.com
4) Admin Password set
5) Enable automated spam training: yes
6) Spam training user: spam.r8qa_lir@mail.xyxyxyxy.com
7) Non-spam(Ham) training user: ham.ghop_irqqb@mail.xyxyxyxy.com
8) Global Documents Account: wiki@mail.xyxyxyxy.com
9) SMTP host: mail.xyxyxyxy.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://mail.xyxyxyxy.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@mail.xyxyxyxy.com
24) Version update source email: admin@mail.xyxyxyxy.com

*** 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.10854]
Saving config in /opt/zimbra/config.10854…done.
The system will be modified – continue? [No] y
Operations logged to /tmp/zmsetup.08072010-212532.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.xyxyxyxy.com…done.
Saving CA in ldap …done.
Saving SSL Certificate in ldap …done.
Setting spell check URL…done.
Setting service ports on mail.xyxyxyxy.com…done.
Adding mail.xyxyxyxy.com to zimbraMailHostPool in default COS…done.
Installing webclient skins…
pebble…done.
sky…done.
hotrod…done.
twilight…done.
oasis…done.
zmail…done.
lemongrass…done.
yahoo…done.
beach…done.
waves…done.
sand…done.
bones…done.
tree…done.
lake…done.
bare…done.
steel…done.
smoke…done.
lavender…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.xyxyxyxy.com…done.
Creating domain mail.xyxyxyxy.com…done.
Setting default domain name…done.
Creating domain mail.xyxyxyxy.com…already exists.
Creating admin account admin@mail.xyxyxyxy.com…done.
Creating root alias…done.
Creating postmaster alias…done.
Creating user wiki@mail.xyxyxyxy.com…done.
Creating user spam.r8qa_lir@mail.xyxyxyxy.com…done.
Creating user ham.ghop_irqqb@mail.xyxyxyxy.com…done.
Setting spam training accounts…done.
Initializing store sql database…done.
Setting zimbraSmtpHostname for mail.xyxyxyxy.com…done.
Configuring SNMP…done.
Checking for default 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.7_GA_2473_DEBIAN5)
The ADMIN EMAIL ADDRESS created (admin@mail.xyxyxyxy.com)

Notify Zimbra of your installation? [Yes] yes
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.7_GA_2473_DEBIAN5&MAIL=admin@mail.xyxyxyxy.com

Starting servers…done.
Installing common zimlets…
com_zimbra_bulkprovision…done.
com_zimbra_cert_manager…done.
com_zimbra_url…done.
com_zimbra_dnd…done.
com_zimbra_email…done.
com_zimbra_phone…done.
com_zimbra_date…done.
com_zimbra_ymemoticons…done.
com_zimbra_adminversioncheck…done.
Finished installing common zimlets.
Initializing Documents…done.
Restarting mailboxd…done.
Setting up zimbra crontab…done.

Moving /tmp/zmsetup.08072010-212532.log to /opt/zimbra/log

Configuration complete – press return to exit

mail:/home/gtoms/zcs-6.0.7_GA_2473.DEBIAN5.20100616212143# netstat -nltup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.82:389 0.0.0.0:* LISTEN 14874/slapd
tcp 0 0 127.0.0.1:10663 0.0.0.0:* LISTEN 32738/zmlogger: zmr
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 29095/amavisd (mast
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 2605/smtpd
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN 23995/mysqld
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 30883/master
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 29028/memcached
tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN 29193/clamd
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 30883/master
tcp 0 0 192.168.1.82:53 0.0.0.0:* LISTEN 4499/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4499/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1728/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 30883/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4499/named
tcp6 0 0 :::7072 :::* LISTEN 3657/java
tcp6 0 0 :::7777 :::* LISTEN 3657/java
tcp6 0 0 :::993 :::* LISTEN 3657/java
tcp6 0 0 :::995 :::* LISTEN 3657/java
tcp6 0 0 :::7780 :::* LISTEN 29212/httpd
tcp6 0 0 :::5222 :::* LISTEN 3657/java
tcp6 0 0 :::5223 :::* LISTEN 3657/java
tcp6 0 0 :::7335 :::* LISTEN 3657/java
tcp6 0 0 :::11211 :::* LISTEN 29028/memcached
tcp6 0 0 :::110 :::* LISTEN 3657/java
tcp6 0 0 :::143 :::* LISTEN 3657/java
tcp6 0 0 :::80 :::* LISTEN 3657/java
tcp6 0 0 :::7025 :::* LISTEN 3657/java
tcp6 0 0 :::5269 :::* LISTEN 3657/java
tcp6 0 0 :::53 :::* LISTEN 4499/named
tcp6 0 0 :::22 :::* LISTEN 1728/sshd
tcp6 0 0 ::1:953 :::* LISTEN 4499/named
tcp6 0 0 :::10015 :::* LISTEN 3657/java
tcp6 0 0 :::7071 :::* LISTEN 3657/java
udp 0 0 192.168.1.82:53 0.0.0.0:* 4499/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 4499/named
udp 0 0 0.0.0.0:11211 0.0.0.0:* 29028/memcached
udp6 0 0 :::53 :::* 4499/named
udp6 0 0 :::11211 :::* 29028/memcached
udp6 0 0 :::46184 :::* 3657/java

mail:/home/gtoms/zcs-6.0.7_GA_2473.DEBIAN5.20100616212143# su – zimbra

zimbra@mail:~$ zmcontrol status
Host mail.xyxyxyxy.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
snmp Running
spell Running
stats Running
zimbra@mail:~$

Setting domain dan email account pada Zimbra Admin :

https://mail.xyxyxyxy.com:7071/zimbraAdmin

Create domain : xyxyxyxy.com
Create test email : henry@xyxyxyxy.com

Create SMTP ISP RELAY dalam hal ini kita tambahkan smtp.telkom.net dengan port 25

GLOBAL SETTINGS—————–> MTA

Relay MTA for external delivery : smtp.telkom.net 25

Save.

TESTING

Masuk ke webmail(Zimbra Client) test kirim email dari henry@xyxyxyxy.com ke henry.gultom@gmail.com

mail:/home/gtoms# tail -f /var/log/zimbra.log

Aug 7 22:53:50 mail postfix/smtpd[26569]: connect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:53:50 mail postfix/smtpd[26569]: 8D3A7630D9: client=mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:53:50 mail postfix/cleanup[26578]: 8D3A7630D9: message-id=<9088725.6.1281196428559.JavaMail.root@mail>
Aug 7 22:53:50 mail postfix/qmgr[30889]: 8D3A7630D9: from=, size=656, nrcpt=1 (queue active)
Aug 7 22:53:50 mail postfix/smtpd[26569]: disconnect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:53:50 mail postfix/postfix-script[26579]: refreshing the Postfix mail system
Aug 7 22:53:50 mail amavis[29642]: (29642-03) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20100807T214639-29642: -> SIZE=656 Received: from mail.xyxyxyxy.com ([127.0.0.1]) by localhost (mail.xyxyxyxy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for ; Sat, 7 Aug 2010 22:53:50 +0700 (WIT)
Aug 7 22:53:50 mail postfix/master[30883]: reload — version 2.6.6, configuration /opt/zimbra/postfix-2.6.6.2z/conf
Aug 7 22:53:50 mail amavis[29642]: (29642-03) Checking: hiqCsSc4ANXC MYNETS [192.168.1.82] ->
Aug 7 22:53:50 mail postfix/qmgr[26585]: 8D3A7630D9: skipped, still being delivered
Aug 7 22:53:51 mail postfix/smtpd[26589]: connect from localhost[127.0.0.1]
Aug 7 22:53:51 mail postfix/smtpd[26589]: 77726630DA: client=localhost[127.0.0.1]
Aug 7 22:53:51 mail postfix/cleanup[26593]: 77726630DA: message-id=<9088725.6.1281196428559.JavaMail.root@mail>
Aug 7 22:53:51 mail postfix/qmgr[26585]: 77726630DA: from=, size=1125, nrcpt=1 (queue active)
Aug 7 22:53:51 mail postfix/smtpd[26589]: disconnect from localhost[127.0.0.1]
Aug 7 22:53:51 mail amavis[29642]: (29642-03) FWD via SMTP: -> ,BODY=7BIT 250 2.0.0 Ok, id=29642-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 77726630DA
Aug 7 22:53:51 mail amavis[29642]: (29642-03) Passed CLEAN, MYNETS LOCAL [192.168.1.82] [192.168.1.82] -> , Message-ID: <9088725.6.1281196428559.JavaMail.root@mail>, mail_id: hiqCsSc4ANXC, Hits: -2.91, size: 656, queued_as: 77726630DA, 839 ms
Aug 7 22:53:51 mail postfix/smtp[26580]: 8D3A7630D9: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.96, delays=0.03/0.08/0.01/0.84, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29642-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 77726630DA)
Aug 7 22:54:06 mail zmmailboxdmgr[26839]: status requested
Aug 7 22:54:06 mail zmmailboxdmgr[26839]: status OK
Aug 7 22:55:13 mail zmmailboxdmgr[27722]: status requested
Aug 7 22:55:13 mail zmmailboxdmgr[27722]: status OK
Aug 7 22:55:13 mail zmmailboxdmgr[27780]: status requested
Aug 7 22:55:13 mail zmmailboxdmgr[27780]: status OK
Aug 7 22:55:39 mail postfix/smtpd[27817]: connect from smtpf1.telkom.net[125.160.6.252]
Aug 7 22:55:39 mail postfix/smtpd[27817]: 9D245630DB: client=smtpf1.telkom.net[125.160.6.252]
Aug 7 22:55:39 mail postfix/smtpd[27817]: disconnect from smtpf1.telkom.net[125.160.6.252]
Aug 7 22:55:49 mail postfix/smtp[26595]: 77726630DA: to=, relay=smtp.telkom.net[125.160.6.252]:25, delay=118, delays=0.04/0.04/0.21/118, dsn=2.0.0, status=sent (250 OK id=1OhlkV-0003l6-5N)

Full Header :

Delivered-To: henry.gultom@gmail.com
Received: by 10.229.5.196 with SMTP id 4cs20491qcw;
Sat, 7 Aug 2010 08:55:53 -0700 (PDT)
Received: by 10.142.88.7 with SMTP id l7mr4464107wfb.296.1281196552756;
Sat, 07 Aug 2010 08:55:52 -0700 (PDT)
Return-Path:
Received: from smtp.gate.s9d3.telkom.net (smtp.gate.s9d3.telkom.net [125.160.6.250])
by mx.google.com with ESMTP id k11si6755198wfa.149.2010.08.07.08.55.52;
Sat, 07 Aug 2010 08:55:52 -0700 (PDT)
Received-SPF: neutral (google.com: 125.160.6.250 is neither permitted nor denied by best guess record for domain of henry@xyxyxyxy.com) client-ip=125.160.6.250;
Authentication-Results: mx.google.com; spf=neutral (google.com: 125.160.6.250 is neither permitted nor denied by best guess record for domain of henry@xyxyxyxy.com) smtp.mail=henry@xyxyxyxy.com
Received: from [125.160.6.252] (helo=smtpf1.telkom.net)
by server9.gate.telkom.net with esmtps (TLSv1:AES256-SHA:256)
id 1Ohlln-0004E8-PV
for henry.gultom@gmail.com; Sat, 07 Aug 2010 22:57:11 +0700
Received: from [125.166.79.138] (helo=mail.xyxyxyxy.com)
by smtpf1.telkom.net with esmtp id 1OhlkV-0003l6-5N
for henry.gultom@gmail.com; Sat, 07 Aug 2010 22:55:51 +0700
Received: from localhost (localhost [127.0.0.1])
by mail.xyxyxyxy.com (Postfix) with ESMTP id 77726630DA
for ; Sat, 7 Aug 2010 22:53:51 +0700 (WIT)
X-Virus-Scanned: amavisd-new at mail.xyxyxyxy.com
Received: from mail.xyxyxyxy.com ([127.0.0.1])
by localhost (mail.xyxyxyxy.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id hiqCsSc4ANXC for ;
Sat, 7 Aug 2010 22:53:50 +0700 (WIT)
Received: from mail.xyxyxyxy.com (mail.xyxyxyxy.com [192.168.1.82])
by mail.xyxyxyxy.com (Postfix) with ESMTP id 8D3A7630D9
for ; Sat, 7 Aug 2010 22:53:50 +0700 (WIT)
Date: Sat, 7 Aug 2010 22:53:48 +0700 (WIT)
From: Henry Gultom
To: henry gultom
Message-ID: <9088725.6.1281196428559.JavaMail.root@mail>
Subject: test ke gmail
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [192.168.1.75]
X-Mailer: Zimbra 6.0.7_GA_2473.DEBIAN5 (ZimbraWebClient – FF3.0 (Linux)/6.0.7_GA_2473.DEBIAN5)

Test kirim email ke diri sendiri.

Aug 7 22:37:56 mail postfix/smtpd[13049]: connect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:37:56 mail postfix/smtpd[13049]: 56431630D9: client=mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:37:56 mail postfix/cleanup[13052]: 56431630D9: message-id=<20122356.2.1281195476194.JavaMail.root@mail>
Aug 7 22:37:56 mail postfix/qmgr[30889]: 56431630D9: from=, size=649, nrcpt=1 (queue active)
Aug 7 22:37:56 mail postfix/smtpd[13049]: disconnect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 22:37:56 mail amavis[29642]: (29642-02) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20100807T214639-29642: -> SIZE=649 Received: from mail.xyxyxyxy.com ([127.0.0.1]) by localhost (mail.xyxyxyxy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for ; Sat, 7 Aug 2010 22:37:56 +0700 (WIT)
Aug 7 22:37:56 mail amavis[29642]: (29642-02) Checking: C8IHJpnLqab5 MYNETS [192.168.1.82] ->
Aug 7 22:37:56 mail postfix/smtpd[13056]: connect from localhost[127.0.0.1]
Aug 7 22:37:56 mail postfix/smtpd[13056]: C0D20630DA: client=localhost[127.0.0.1]
Aug 7 22:37:56 mail postfix/cleanup[13052]: C0D20630DA: message-id=<20122356.2.1281195476194.JavaMail.root@mail>
Aug 7 22:37:56 mail postfix/qmgr[30889]: C0D20630DA: from=, size=1317, nrcpt=1 (queue active)
Aug 7 22:37:56 mail postfix/smtpd[13056]: disconnect from localhost[127.0.0.1]
Aug 7 22:37:56 mail amavis[29642]: (29642-02) FWD via SMTP: -> ,BODY=7BIT 250 2.0.0 Ok, id=29642-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C0D20630DA
Aug 7 22:37:56 mail amavis[29642]: (29642-02) Passed CLEAN, MYNETS LOCAL [192.168.1.82] [192.168.1.82] -> , Message-ID: <20122356.2.1281195476194.JavaMail.root@mail>, mail_id: C8IHJpnLqab5, Hits: -2.91, size: 649, queued_as: C0D20630DA, 424 ms
Aug 7 22:37:56 mail postfix/smtp[13053]: 56431630D9: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.49, delays=0.02/0.02/0.04/0.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29642-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C0D20630DA)
Aug 7 22:37:56 mail postfix/qmgr[30889]: 56431630D9: removed
Aug 7 22:37:56 mail postfix/lmtp[13057]: C0D20630DA: to=, relay=mail.xyxyxyxy.com[192.168.1.82]:7025, delay=0.13, delays=0.01/0.05/0/0.06, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 7 22:37:56 mail postfix/qmgr[30889]: C0D20630DA: removed
Aug 7 22:38:06 mail zmmailboxdmgr[13305]: status requested
Aug 7 22:38:06 mail zmmailboxdmgr[13305]: status OK

Testing kirim email ke mailserver lain di IIX.

Aug 7 23:03:56 mail postfix/smtpd[2441]: connect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 23:03:56 mail postfix/smtpd[2441]: E0248630D9: client=mail.xyxyxyxy.com[192.168.1.82]
Aug 7 23:03:56 mail postfix/cleanup[2444]: E0248630D9: message-id=<21238171.10.1281197036775.JavaMail.root@mail>
Aug 7 23:03:56 mail postfix/qmgr[26585]: E0248630D9: from=, size=726, nrcpt=1 (queue active)
Aug 7 23:03:56 mail postfix/smtpd[2441]: disconnect from mail.xyxyxyxy.com[192.168.1.82]
Aug 7 23:03:56 mail amavis[29666]: (29666-03) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20100807T220654-29666: -> SIZE=726 Received: from mail.xyxyxyxy.com ([127.0.0.1]) by localhost (mail.xyxyxyxy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for ; Sat, 7 Aug 2010 23:03:56 +0700 (WIT)
Aug 7 23:03:57 mail amavis[29666]: (29666-03) Checking: qEEbYg+S+tpk MYNETS [192.168.1.82] ->
Aug 7 23:03:58 mail postfix/smtpd[2448]: connect from localhost[127.0.0.1]
Aug 7 23:03:58 mail postfix/smtpd[2448]: 0AA72630DA: client=localhost[127.0.0.1]
Aug 7 23:03:58 mail postfix/cleanup[2444]: 0AA72630DA: message-id=<21238171.10.1281197036775.JavaMail.root@mail>
Aug 7 23:03:58 mail postfix/qmgr[26585]: 0AA72630DA: from=, size=1187, nrcpt=1 (queue active)
Aug 7 23:03:58 mail amavis[29666]: (29666-03) FWD via SMTP: -> ,BODY=7BIT 250 2.0.0 Ok, id=29666-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 0AA72630DA
Aug 7 23:03:58 mail amavis[29666]: (29666-03) Passed CLEAN, MYNETS LOCAL [192.168.1.82] [192.168.1.82] -> , Message-ID: <21238171.10.1281197036775.JavaMail.root@mail>, mail_id: qEEbYg+S+tpk, Hits: -2.91, size: 726, queued_as: 0AA72630DA, 1130 ms
Aug 7 23:03:58 mail postfix/smtp[2445]: E0248630D9: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.02/0.02/0.01/1.1, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29666-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 0AA72630DA)
Aug 7 23:03:58 mail postfix/qmgr[26585]: E0248630D9: removed
Aug 7 23:03:58 mail postfix/smtpd[2448]: disconnect from localhost[127.0.0.1]
Aug 7 23:04:06 mail zmmailboxdmgr[2693]: status requested
Aug 7 23:04:06 mail zmmailboxdmgr[2693]: status OK
Aug 7 23:04:58 mail postfix/smtpd[2441]: connect from smtpf2.telkom.net[125.160.17.195]
Aug 7 23:04:58 mail postfix/smtpd[2441]: 8CB94630D9: client=smtpf2.telkom.net[125.160.17.195]
Aug 7 23:04:58 mail postfix/smtpd[2441]: disconnect from smtpf2.telkom.net[125.160.17.195]
Aug 7 23:05:02 mail zmmailboxdmgr[3578]: status requested
Aug 7 23:05:02 mail zmmailboxdmgr[3578]: status OK
Aug 7 23:05:03 mail zmmailboxdmgr[3636]: status requested
Aug 7 23:05:03 mail zmmailboxdmgr[3636]: status OK
Aug 7 23:05:08 mail postfix/smtp[2449]: 0AA72630DA: to=, relay=smtp.telkom.net[125.160.17.195]:25, delay=71, delays=0.01/0.04/0.08/71, dsn=2.0.0, status=sent (250 OK id=1OhltW-0002MP-6E)
Aug 7 23:05:08 mail postfix/qmgr[26585]: 0AA72630DA: removed

Testing menggunakan mailclient Thunderbird

Aug 8 09:19:23 mail postfix/smtpd[14558]: connect from smtp.gate.s7d2.telkom.net[222.124.18.141]
Aug 8 09:19:23 mail postfix/smtpd[14558]: setting up TLS connection from smtp.gate.s7d2.telkom.net[222.124.18.141]
Aug 8 09:19:23 mail postfix/smtpd[14558]: Anonymous TLS connection established from smtp.gate.s7d2.telkom.net[222.124.18.141]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Aug 8 09:19:23 mail postfix/smtpd[14558]: 50335630DB: client=smtp.gate.s7d2.telkom.net[222.124.18.141]
Aug 8 09:19:23 mail postfix/cleanup[14574]: 50335630DB: message-id=<4C5E1406.4000907@gtoms.com>
Aug 8 09:19:23 mail postfix/qmgr[26585]: 50335630DB: from=<support@gtoms.com>, size=1190, nrcpt=1 (queue active)
Aug 8 09:19:23 mail amavis[29666]: (29666-08) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20100807T220654-29666: <support@gtoms.com> -> <henry@xyxyxyxy.com> SIZE=1190 Received: from mail.xyxyxyxy.com ([127.0.0.1]) by localhost (mail.xyxyxyxy.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <henry@xyxyxyxy.com>; Sun, 8 Aug 2010 09:19:23 +0700 (WIT)
Aug 8 09:19:23 mail amavis[29666]: (29666-08) Checking: ELrz8StLvhgS [222.124.18.141] <support@gtoms.com> -> <henry@xyxyxyxy.com>
Aug 8 09:19:23 mail postfix/smtpd[14558]: disconnect from smtp.gate.s7d2.telkom.net[222.124.18.141]
Aug 8 09:19:24 mail postfix/smtpd[14808]: connect from localhost[127.0.0.1]
Aug 8 09:19:24 mail postfix/smtpd[14808]: A008C630DC: client=localhost[127.0.0.1]
Aug 8 09:19:24 mail postfix/cleanup[14574]: A008C630DC: message-id=<4C5E1406.4000907@gtoms.com>
Aug 8 09:19:24 mail postfix/qmgr[26585]: A008C630DC: from=<support@gtoms.com>, size=1819, nrcpt=1 (queue active)
Aug 8 09:19:24 mail postfix/smtpd[14808]: disconnect from localhost[127.0.0.1]
Aug 8 09:19:24 mail amavis[29666]: (29666-08) FWD via SMTP: <support@gtoms.com> -> <henry@xyxyxyxy.com>,BODY=7BIT 250 2.0.0 Ok, id=29666-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A008C630DC
Aug 8 09:19:24 mail amavis[29666]: (29666-08) Passed CLEAN, [222.124.18.141] [125.160.17.195] <support@gtoms.com> -> <henry@xyxyxyxy.com>, Message-ID: <4C5E1406.4000907@gtoms.com>, mail_id: ELrz8StLvhgS, Hits: -0.001, size: 1190, queued_as: A008C630DC, 1279 ms
Aug 8 09:19:24 mail postfix/smtp[14805]: 50335630DB: to=<henry@xyxyxyxy.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.4, delays=0.07/0.02/0.01/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29666-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A008C630DC)
Aug 8 09:19:24 mail postfix/qmgr[26585]: 50335630DB: removed
Aug 8 09:19:24 mail postfix/lmtp[14809]: A008C630DC: to=<henry@xyxyxyxy.com>, relay=mail.xyxyxyxy.com[192.168.1.82]:7025, delay=0.12, delays=0.01/0.04/0/0.07, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Aug 8 09:19:24 mail postfix/qmgr[26585]: A008C630DC: removed

Selesai sudah proses membuat mailserver kantor dengan zimbra dan internet speedy. Tinggal menambahkan user-user email karyawan perusahaan ini, setting di masing-masing mail client komputer desktop user, tunning zimbra dan antispam,set firewall.

11 thoughts on “Membuat mailserver kantor dengan zimbra dan internet speedy

  1. Henry Gultom

    @xmosx : pada domain manager tempat domain perusahaannya dibeli diarahkan ke nameserver zoneedit yang didapat setelah registrasi ke zoneedit yaitu :

    ns13.zoneedit.com 66.223.40.121
    ns9.zoneedit.com 66.240.231.42

  2. xmosex

    mantaff tulang makasih ini sudah berhasil hehee
    btw gimana dengan sekurity bang? saya tidak pake proxy..so apa yang harus saya setup so lebih aman ….
    mauliate….

  3. xmosx

    Pak gultom

    Misalnya ada kasus seperti ini ,
    pertama saya menginstal zimbra dengan menggunakan domain example.com, pada suatu waktu ada perubahan sehingga domainnya ingin diganti menjadi example2.com, apakah harus menginstall ulang zimbranya dari awal atau ada cara lain ?

    Yang kedua : Bagimana cara melakukan backup semua email2 user di zimbra dan merestore jika suatu saat server mengalami crash…
    Terimakasih

  4. xmosx

    Pak gultom :
    Yang ketiga yah:
    Ketika kita menginstall zimbra itu apakah secara otomatis dia sudah mengkonfigure MTA? karena saya tidak ada install postfix dan sendmail….

    Yang Keempat:
    Jika kita mau mencreate email user apakah harus satu per satu atau ada cara lain dengan menggunakan scipt untuk mencreate usernya…?

    Mauliate

  5. cybertunas

    xmosesx
    kamu pake iptables aja di sisi proxynya itu sudah cukup kok, DROP dulu semua dan buka port port yang diperlukan

    Zimbranya di install ulang saja

    Di zimbra sudah otomatis di aktifkan MTAnya , coba nmap localhost

    Google cara create usernya ada kok scriptnya

  6. indra

    pak gultom,

    apakah bisa dibuatkan panduan (capture) proses penggunaan zoneedit ?
    karena bagi yang tidak paham seperti saya, bingung juga mau mulai darimana dan bagaimana jika sudah punya account zoneedit tersebut.
    Disana disebutkan “new zone”, tapi habis itu kita ngetik apa, dan bagaimana.
    Maaf pertanyaannya agak banyak, bagi yang tidak paham mungkin bisa terbantu dengan screen capture.
    tks

  7. Kh4d3

    Pak Gultom salam kenal sebelumnya…
    Pembelajaran yang sangat berarti dan jarang orang yang ahli seperti ini bisa berbagi… dan kebetulan saya mau implementasikan di kantor saya dan mohon masukan untuk konfigurasi apabila kasusnya seperti ini bagaimana inplementasinya, ditempat saya sekarang sudah saya setting speedy dengan dialup mikrotik dan rencana saya mau buat webserver lokal, mail server, share data, print share gmana implementasinya dan butuh pc berapa unit ? dan kalau bersedia mohon bantu nanti untuk penerapan praktiknya. Ma’af jadi curhat…

  8. Erwin Surya Gouwtama

    Waduh dapet kasus sama nih kaya yang di atas,, bisa tolong share cara nya ga Pak?? dial up dari mikrotik terus zimbra nya ip private? sekarang mail server nya cuma bisa terima n ga bisa kirim. kalo pake smtp nya telkom banyak spam

    Thx
    Erwin

  9. hendra

    pak gultom maaf mau tanya..kalo nameserver nya di ganti ke zonaedit nanti nameserver yang mengarah dari domain ke hosting akan berubah atau giamana..mohon penjelassannya. terimakasih

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.