Difference between revisions of "Talk:Zarafa"

From SME Server
Jump to navigationJump to search
m
(Usage)
Line 98: Line 98:
 
  /usr/bin/zarafa-admin -s
 
  /usr/bin/zarafa-admin -s
  
Test webaccess with above created user or local user
+
===Usage===
 +
After implementing the .qmail fragment mail is sent to zarafa, and NOT the users ~\Maildir
  
http://serverip/zarafa
+
Unless we change the order of the .qmail fragment, some SME functions are bypassed, eg Forwarding of mail, contribs such as vacation and mailsorting.
 +
 
 +
====Webmail====
 +
Access with browser for a local user
 +
 
 +
* http://serverip/zarafa
 +
 
 +
====Windows Clients====
 +
 
 +
* MS Outlook
 +
 
 +
* zarafaclient-6.20.msi contained in the win32 directory of zarafa*.tar.gz
 +
 
 +
====Imap & POP====
 +
UNTESTED
 +
 
 +
Start the service
 +
/etc/init.d/zarafa-gateway start
 +
 
 +
Configure the client (what address/port ?)

Revision as of 00:06, 26 September 2008

Rough Guide to get Zarafa running. Lots more to do...

http://forums.contribs.org/index.php?topic=42118.0

Download & Install

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"

Zarafa config files

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

 user_plugin        = unix
 user_plugin_config = /etc/zarafa/unix.cfg
nano /etc/zarafa/unix.cfg
 default_domain = yourserver.net
 min_user_uid = 5000
 min_group_gid = 5000

SME templates

httpd.conf

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

php.ini

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

.qmail

enable zarafa for a user

db accounts setprop xxxx zarafa enabled
nano -w /etc/e-smith/templates-user/.qmail/15Zarafa

{
   my $zarafa = $user->prop('zarafa') || ;

   return "| /usr/bin/zarafa-dagent -q $USERNAME"
           if ($zarafa eq 'enabled');
}
/etc/e-smith/events/actions/qmail-update-user

Other tasks

Change webaccess apache rights

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

Start Zarafa services

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

Create Zarafa public store

/usr/bin/zarafa-admin -s

Usage

After implementing the .qmail fragment mail is sent to zarafa, and NOT the users ~\Maildir

Unless we change the order of the .qmail fragment, some SME functions are bypassed, eg Forwarding of mail, contribs such as vacation and mailsorting.

Webmail

Access with browser for a local user

Windows Clients

  • MS Outlook
  • zarafaclient-6.20.msi contained in the win32 directory of zarafa*.tar.gz

Imap & POP

UNTESTED

Start the service

/etc/init.d/zarafa-gateway start

Configure the client (what address/port ?)