Building Zarafa on Gentoo
From Zarafa wiki
Currently the Zarafa ebuilds are not yet in portage but can be found in dagger's overlay. A bug report tracking it's inclusion is located at http://bugs.gentoo.org/239514.
layman -a dagger
Currently packages are ~arch keyworded. If you're using stable branch, you need to add them to your keyword file
echo "www-apps/zarafa" >> /etc/portage/package.keywords echo "www-apps/zarafa-webaccess" >> /etc/portage/package.keywords echo "dev-cpp/libvmime" >> /etc/portage/package.keywords
Emerging the package
Now you should be able to emerge the package normally.
emerge -av zarafa
Installing the webmail - Required settings
Of course for this to work PHP and APACHE2 need to be installed. zarafa-webaccess ebuild will ensure you've got proper php modules.
/etc/php/apache2-php5/php.ini make sure
magic_quotes_gpc = Off
Install as usual. If you don't specify vhosts use flag, webapps will install it to /var/www/localhost/htdocs/zarafa-webaccess/ by default.
emerge -av zarafa-webaccess
Note: Please restart Apache server after installation.
Installing the licensed server
Note: Soon ebuild for zarafa-licenced will be added as well. Right now, please follow instruction below:
If you want to use Zarafa with more than 3 Outlook servers, you'll have to purchase a license. This license requires a license server. The license server is not included in the open source package. So this means you'll have to fetch it from a binary package. So fetch the SuSe 10.2 package from Zarafa website. The licensed binary from the SuSe 10.2 package is currently all that works on Gentoo because of the glibc version.
rpm2tar zarafa-licensed-6.40.1-*.rpm tar -xvpf zarafa-licensed-6.40.1-*.tar
This creates two folders: etc and usr. The required files to move are:
rm -rf /etc/zarafa/report-ca mv etc/zarafa/report-ca/ etc/zarafa/report etc/zarafa/license/ /etc/zarafa/ mv usr/bin/zarafa-* /usr/bin/ mv usr/share/man/man1/zarafa-* /usr/share/man/man1/ mv usr/share/man/man5/zarafa-licensed.cfg.5.gz /usr/share/man/man5/
That should do it...
Starting the services
rc-update add zarafa-licensed default (if you installed it) rc-update add zarafa-server default rc-update add zarafa-monitor default rc-update add zarafa-gateway default rc-update add zarafa-ical default rc-update add zarafa-spooler default
Setup after install Please follow official Zarafa documentation. It explains in detail how to configure Zarafa.
Integration with MTAs Please follow excellent WIKI pages which provide information how to integrate with MTAs