Talk:Zarafa

From SME Server
Jump to navigationJump to search

Forum thread on Zarafa http://forums.contribs.org/index.php?topic=42118.0

Darrell, thinks this is worth looking at, so lets co-ordinate here

Add steps and fragments below and we will create a smeserver-zarafa rpm

Snoble 23:40, 23 September 2008 (UTC)

Here is what I did to get Zarafa running. Lots more to do...

Download Zarafa

http://www.zarafa.com/download-community

Distribution = Rhel 4

tar -zxvf zarafa-6.20-rhel4-i386.tar.gz
yum localinstall libvmime*.rpm
yum localinstall libical*.rpm
yum localinstall zarafa-6*.rpm
yum localinstall zarafa-webaccess-6*.rpm

Create the Database

mysqladmin create zarafa
mysql -e "grant all privileges on zarafa.* to zarafa@localhost identified by 'yourpassword'"
mysql -e "flush privileges"

Edit the server config file

nano /etc/zarafa/server.cfg
 mysql_user = zarafa
 mysql_password = 'yourpassword'
 mysql_database = zarafa

Change webaccess apache rights

chown -R www:www /var/www/html/webaccess/tmp

Create a custom httpd.conf template

mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
nano /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86ZarafaAlias
 Alias /zarafa /var/www/html/webaccess/
 <Directory /var/www/html/webaccess/>
  Options -Indexes
  AllowOverride None
  order allow,deny
  allow from all
  AddType application/x-httpd-php .php
  php_flag magic_quotes_gpc off
  php_flag track_vars on
 </Directory>
expand-template /etc/httpd/conf/httpd.conf

Create a custom php.ini template

mkdir -p /etc/e-smith/templates-custom/etc/php.ini
nano /etc/e-smith/templates-custom/etc/php.ini/99Zarafa
 extension = mapi.so
expand-template /etc/php.ini

Restart httpd

signal-event ibay-modify

Start Zarafa services

/etc/init.d/zarafa-server start
/etc/init.d/zarafa-spooler start

Create Zarafa public store

/usr/bin/zarafa-admin -s

Create Zarafa user

/usr/bin/zarafa-admin -c 'username' -p 'password' -e 'email' -f 'fullname' -a '0'

Test webaccess with above created user

http://serverip/zarafa