Difference between revisions of "Building Zimbra on Fedora Core 5 and x86 64"

Line 26: Line 26:
 
   chmod -R a+w \
 
   chmod -R a+w \
 
   /home/Projects/Source/Zimbra/main/ThirdParty/apache-httpd/builds/UNKNOWN/httpd-2.0.54.tgz
 
   /home/Projects/Source/Zimbra/main/ThirdParty/apache-httpd/builds/UNKNOWN/httpd-2.0.54.tgz
 +
 +
<h2> Amavisd -- Mail filtering in the Secure Layer </h2>
 +
 +
Zimbra segregates itself by using two seperate mail systems. The first email server is Postfix. Postfix receives the emails from the outside world and passes them on to a perl program called Amavis. Amavis integrates Postfix with Spamassasin, ClamAV and DSPAM and provides standard site wide filtering actions and returns the email to postfix.
 +
* Be very careful if you are screwing with Postfix. Chances are you could probably do it in Amavis.
 +
* Be cautious about security. Postfix is designed to be fast and secure, but email security problems have only recently be passed by web security problems as hackers entry way of choice.
 +
 +
To Install Amavisd, you need to do the following:
 +
 +
  cd ../amavisd
 +
  wget http://www.ijs.si/software/amavisd/amavisd-new-2.3.3.tar.gz
 +
  tar xzf amavisd-new-2.3.3.tar.gz
 +
  cd amavisd-new-2.3.3
 +
  patch -p0 < ../amavisd.2.3.3.patch
 +
 +
Amavis does not have a Makefile. We can't test the build until we build the whole thing.

Revision as of 16:52, 9 May 2006

Unfortuntily the standard zimbra documentation is way out of date. As I hit issues with this, I will update this page and the documetation below.


Check the Source Code out from Main

Check the source code out:

  cvs -z6 -d :pserver:anonymous:@cvs.zimbra.com:/usr/local/cvsroot co main
  • Does anyone know what the difference is in the CRAY versus MAIN branch?

Building the Web Server for Zimlets.

Zimbra uses a httpd instance for Zimlets and the spell checker. Apache 2.0.54 is used for this. Zimbra documentation has a tendency to be wrong about versions, so check the makefile carefully for whatever version the software is currently expecting.

  • Zimbra Folks... Would it be possible to put up a copy of the ThirdParty stuff uncompiled? You loose a lot of time just digging for the software

Build the web server:

  cd main/ThirdParty/apache-httpd
  wget http://archive.apache.org/dist/httpd/httpd-2.0.54.tar.gz
  sudo make

The final output should look like:

  (cd /opt/zimbra; tar czf \
  /home/Projects/Source/Zimbra/main/ThirdParty/apache-httpd/builds/UNKNOWN/httpd-2.0.54.tgz \
  httpd-2.0.54)
  chmod -R a+w \
  /home/Projects/Source/Zimbra/main/ThirdParty/apache-httpd/builds/UNKNOWN/httpd-2.0.54.tgz

Amavisd -- Mail filtering in the Secure Layer

Zimbra segregates itself by using two seperate mail systems. The first email server is Postfix. Postfix receives the emails from the outside world and passes them on to a perl program called Amavis. Amavis integrates Postfix with Spamassasin, ClamAV and DSPAM and provides standard site wide filtering actions and returns the email to postfix.

  • Be very careful if you are screwing with Postfix. Chances are you could probably do it in Amavis.
  • Be cautious about security. Postfix is designed to be fast and secure, but email security problems have only recently be passed by web security problems as hackers entry way of choice.

To Install Amavisd, you need to do the following:

 cd ../amavisd
 wget http://www.ijs.si/software/amavisd/amavisd-new-2.3.3.tar.gz
 tar xzf amavisd-new-2.3.3.tar.gz
 cd amavisd-new-2.3.3
 patch -p0 < ../amavisd.2.3.3.patch

Amavis does not have a Makefile. We can't test the build until we build the whole thing.

Jump to: navigation, search