Zimbra Installation on OpenSUSE 10.3

I’m currently using Zimbra Collaboration Suite as my email server at work and it seems very nice. After upgrading my personal desktop from OpenSUSE 10.2 into OpenSUSE 10.3, I think it’s good idea to try Zimbra on OpenSUSE 10.3. Zimbra 5.0 is still beta, so I tried to used stable version, Zimbra version 4.5.8.

My primary documentation to install Zimbra into OpenSUSE is Zimbra forums. Bigmudcake has been updated his post and it included OpenSUSE 10.3 right now.

Here is the tutorial, with my small notification from my private experience.

  • Make sure the following packages are installed including associated dependencies.
    fetchmail, cURL, libidn, GMP, compat-libstdc++, cron, sudo, compat-openssl097g
  • Make sure package compat-expat1 is installed if using openSUSE 10.2 or libexpat0 for openSUSE 10.3
  • Remove any packages you do not need to run on your server, this makes your server simpler,
    faster and less likely to conflict to have a conflict with Zimbra. Unless your you are a Linux Expert, remove Apache,MySQL,OpenLDAP,Amavis,Spamassassin, but make sure Postfix is installed. Note : Please take a while to verify this step. If you have some dependencies conflict while uninstall these software, please avoid the software removing.
  • Make sure your DNS server is setup correctly with the hostname having A and MX records.
    Also check the /etc/resolv.conf, /etc/host.conf, and /etc/nsswitch.conf files
    to make sure your DNS server is being accessed correctly. Note : DNS Configuration is one of the main problem while installing Zimbra. You need A and MX records only. These records point to your Zimbra Server.
  • Make sure the hostname you wish to use is located in /etc/hosts file as a Fully Qualified Domain Name (FQDN). Note : FQDN example : "mailserver.vavai.com" rather than "mailserver" only. You can modify /etc/hosts file or using YAST to do this changes.

  • Download the SUSE10 zimbra package and unpack using tar xzvf zimbra_package.tgz
  • If you are running openSUSE 10.3 (not 10.2) perform the following command:
    ln -s /usr/lib/libcurl.so.4.0.0 /usr/lib/libcurl.so.3
  • If your running openSUSE 10.3 (not 10.2) – Edit the file get_plat_tag.sh located in the bin folder of the unpacked zcs zimbra folder, search for the following lines:
    grep "openSUSE 10.2" /etc/SuSE-release > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo "openSUSE_10.2"
    exit 0

    modify the first line only, and make it as:

    grep "openSUSE 10.3" /etc/SuSE-release > /dev/null 2>&1
    if [ $? = 0 ]; then
    echo "openSUSE_10.2"
    exit 0

  • Edit the file /etc/syslog-ng/syslog-ng.conf and add the following lines
    to the end of the file – if they don’t already exist if they are not exist :

    filter f_local0       { facility(local0); }; # zimbra
    destination zmail { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_mail); destination(zmail); }; # zimbra
    destination local0 { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_local0); destination(local0); }; # zimbra
    filter f_auth { facility(auth); }; # zimbra
    destination zmauth { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_auth); destination(zmauth); }; # zimbra

  • Turn off any conflicting services you may be running.
    i.e. for Postfix use the following commands:
    service postfix stop
    chkconfig postfix off
  • Install Zimbra by following the normal installation instructions. (hint: execute ./install.sh from the zcs folder).

    If you are running openSUSE 10.2 (not 10.3) and the installation process reaches the configuration “main menu” you will need to login into your SUSE server with a new seperate shell window and perform the following command:
    chmod 640 /etc/sudoers

    You can then logout of the from the new shell window and return to the installation and continue on.

  • When installation is complete, run the following command
    chkconfig –del zimbra
  • Edit the file /etc/init.d/zimbra and add the following lines below the existing comments at the top of the file.
    # Provides: zimbra
    # Required-Start: $network $syslog
    # Required-Stop:
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Description: Zimbra mail service

  • Replace all instances of "killall -HUP syslogd" with "/sbin/rcsyslog restart" in the files
  • Restart the syslog daemon by executing (as root)
    /sbin/rcsyslog restart
  • Run the following commands to get zimbra to startup correctly.
    chkconfig –add zimbra ; chkconfig zimbra on
  • Run the following commands to restart the zimbra server so post-installation changes can take effect.
    su – zimbra
    /opt/zimbra/bin/zmcontrol stop
    /opt/zimbra/bin/zmcontrol start

The best part about cheap web hosting is the fact that the search engine submission does not cost much either. With cheap hosting, one can save enough to invest in advanced marketing strategies like cpc. One can also think of affording email marketing if the cheapest domain name is employed. Other marketing methodologies like adsense marketing can be inculcated later.

Latest Comments

  1. Andri Setiawan October 18, 2007
  2. Vavai October 18, 2007
  3. Anonymous October 31, 2007
  4. Vavai October 31, 2007
  5. Migrasi Windows - Linux November 14, 2007
  6. Christian Dingena February 19, 2008
  7. Vavai February 20, 2008
  8. Christian Dingena February 28, 2008
  9. Vavai February 28, 2008
  10. Christian Dingena March 1, 2008
  11. Christian Dingena March 3, 2008
  12. Vavai March 4, 2008
  13. Peter H April 20, 2008

Leave a Reply