For any open source advocate, one of the biggest needs is an Exchange-like server. There are plenty of them available, some of them offer less-than enough features to really be viable. Some of them offer plenty of features but are insanely difficult to install. And then there's Zarafa.
Zarafa is an open source collaborative software solution meant to be an alternative to Exchange. It works like Exchange, includes a web interface that has the same look and feel as Exchange, and even integrates with Outlook! Zarafa integrates with your existing mail server and includes IMAP4 and a POP3 gateway as well as an iCal/CalDAV gateway. In this article I am going to show you how to get this server up and running quickly and easily on top of a running Fedora 13 distribution that includes a working Apache server.
Features at a glance
Before we get into the installation, let's take a quick look at the feature list Zarafa offers:
So it looks like there's very little this server is actually missing eh? That's right. Now, let's get this baby installed.
As I mentioned earlier, Zarafa will need a working email system. You can integrate Zarafa into Postfix by adding the following line to the /etc/postfix/main.cf file:
mailbox_command = /usr/bin/zarafa-dagent "$USER"
You will also need to make sure users are in the Zarafa database as well as the Unix database on the system.
Now, to the installation of Zarafa itself. This is done completely via the command line, so open up a terminal window. The first thing you need to do (after you su to the root user) is to install the system with the command:
yum install zarafa zarafa-webaccess
This command should pick up any dependencies necessary to complete the installation. Depending upon the speed of your machine and network connection, this could take some time.
Once the installation is completed you need to issue a few commands:
The above three commands will start all of the necessary services for the Zarafa system. Now you need to create a public store which is done with the command:
Once the store is complete you need to create a test user with the command:
zarafa-admin -c USERNAME -e [email protected] -f "Zarafa Tester" -p PASSWORD
Where everything in ALL CAPS is user specific.
Now restart your web server with the command:
service httpd restart
It is now time to log in. Point your browser to http://localhost/webaccess and you will see the glorious-ness that is Zarafa (see Figure 1). As you can see the web interface looks a lot like that of the Exchange web access page. And the usage is very similar as well.
This of course doesn't set up a complete, usable experience. In order to get email delivered into Zarafa you will need to employ the zarafa-dagent with your local mailer (as I mentioned earlier with the Postfix example).
Zarafa looks extremely promising. It's easy to install, offers full functionality (nearly equal to that of Exchange), and is open source. Give Zarafa a go and see if you think it can be an open source Exchange "killer".
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.