udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
HOW TO MAKE MONEY by INTERNET
sfi


Install Zimbra Mail Server on Ubuntu 8.04




For me, Zimbra is a reliable mail server, complete and easy to configure. Here are the steps to install Zimbra Mail Server on Ubuntu 8.04.

Before you install do not forget to be prepared as follows :

  • Computer name (hostname) and here i use mailserver
  • Ip address the computer and here i use 211.172.16.33, netmask 255.255.255.252 and gateway 211.172.16.32
  • Domain Name and here i use udiniq.com
  • Nameserver (NS), nameserver is the place where to put the domain and because I put udiniq.com at ns1.udiniqgeeks.com then I use the nameserver ns1.udiniqgeeks.com with the ip address 210.172.210.100
  • Mail Domain (MX), a record that determines where an email will be sent. In this MX record, there are additional variables and priotity here I use mx mail.udiniq.com

Tutorial for making DNS Server in Ubuntu!

Ok, after a dns problem is over, following the step-by-step to install zimbra mail server on ubuntu 8.04 ...

Previously we had to setup mail server ip address is 211.172.16.33, netmask 255.255.255.252, gateway 211.172.16.32 and also to setup nameserver ip address is 210.172.210.100 :

root@mailserver:~# vim /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 211.172.16.33
        netmask 255.255.255.252
        network 211.172.16.31

        broadcast 211.172.16.34
        gateway 211.172.16.32

root@mailserver:~# vim /etc/resolv.conf

search udiniq.com
nameserver 210.172.210.100

Make sure the hostname is written in a Mail Server Fully Qualified Domain Name (FQDN):

root@mailserver:~# vim /etc/hosts

127.0.0.1             localhost
211.172.16.33
     mailserver.udiniq.com      mailserver

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

If all the preparations are ok, then the next step you need to remove Postfix installed by default when you install ubuntu 8.04, because of Zimbra Mail Server in an existing service, so it aims to avoid conflict with Postfix, Zimbra's own property, so zimbra installation running normally. The steps are as follows :

root@mailserver:~# /etc/init.d/postfix stop && aptitude autoremove

The next step is to download the packages zimbra:

root@mailserver:~# wget http://h.yimg.com/lo/downloads/5.0.14_GA/zcs-5.0.14_GA_2850.UBUNTU8.20090303190551.tgz

And extract the files zimbra by step:

root@mailserver:~# tar xzf zcs-5.0.14_GA_2850.UBUNTU8.20090303190551.tgz

Then go to the folder zimbra :

root@mailserver:~# cd zcs-5.0.14_GA_2850.UBUNTU8.20090303190551

root@mailserver:/cd zcs-5.0.14_GA_2850.UBUNTU8.20090303190551:#

Before you install Zimbra, we first install the packages needed by Zimbra, steps :

root@mailserver:/cd zcs-5.0.14_GA_2850.UBUNTU8.20090303190551:# aptitude install libpcre3 libgmp3c2 libstdc++5 libltdl3

Then install Zimbra :

root@mailserver:/cd zcs-5.0.14_GA_2850.UBUNTU8.20090303190551:# ./install.sh

Next time zimbra installation there may be some questions that must be answered, and please mail completed according to the needs of both zimbra ns and MX.

In addition to complete installation zimbra mail server on ubuntu 8.04, the following are ways that we can send email through the server console on ubuntu 8.04, it is intended that we as an administrator can try sending an email via the console without having to open an email address in our browser, so to test the email sending is not time consuming, the following steps :

root@mailserver:~# wget http://ubuntu.lnix.net/misc/mta-dummy/mta-dummy_1.0_all.deb
root@mailserver:~# dpkg -i mta-dummy_1.0_all.deb
root@mailserver:~# apt-get install mailx

If you've done the above step, the next step is we need to add the script set sendmail=/opt/zimbra/postfix/sbin/sendmail at /etc/mail.rc, the following steps:

root@mailserver:~# vim / etc / mail.rc

-- By pressing the letter i please add the following script --

set sendmail =/opt/zimbra/postfix/sbin/sendmail

-- Ends here and save it by pressing Esc: wq and Enter --

Then do the following steps to test sending email via console:

root@mailserver:~# mail @

Then enter the subject and contents and end with a period (.) And Enter

To view the report sendingnya silhkan look at /var/log/zimbra.log

SITE ARCHIVE
udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
Copyright©2009 | UdiniqGeek.com - Thinks about OS Linux Ubuntu - Ubuntu Tutorials | Contact Us | :: RSS | [Valid RSS]