Changes

From SME Server
Jump to navigationJump to search
203 bytes removed ,  13:21, 25 September 2008
Split
Line 10: Line 10:  
== Here is what I did to get Zarafa running. Lots more to do... ==
 
== Here is what I did to get Zarafa running. Lots more to do... ==
   −
Download Zarafa
+
===Download & Install===
    
http://www.zarafa.com/download-community
 
http://www.zarafa.com/download-community
Line 23: Line 23:  
  yum localinstall zarafa-webaccess-6*.rpm
 
  yum localinstall zarafa-webaccess-6*.rpm
   −
Create the Database  
+
===Create the Database===
    
  mysqladmin create zarafa
 
  mysqladmin create zarafa
Line 29: Line 29:  
  mysql -e "flush privileges"
 
  mysql -e "flush privileges"
   −
Edit the server config file
+
===Zarafa config files===
    
  nano /etc/zarafa/server.cfg
 
  nano /etc/zarafa/server.cfg
Line 35: Line 35:  
   mysql_password = 'yourpassword'
 
   mysql_password = 'yourpassword'
 
   mysql_database = zarafa
 
   mysql_database = zarafa
 +
 +
  user_plugin        = unix
 +
  user_plugin_config = /etc/zarafa/unix.cfg
   −
Change webaccess apache rights
+
nano /etc/zarafa/unix.cfg
 +
  default_domain = yourserver.net
 +
  min_user_uid = 5000
 +
  min_group_gid = 5000
   −
chown -R www:www /var/www/html/webaccess/tmp
+
===SME templates===
   −
Create a custom httpd.conf template
+
====httpd.conf====
    
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Line 58: Line 64:  
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
   −
Create a custom php.ini template
+
====php.ini====
    
  mkdir -p /etc/e-smith/templates-custom/etc/php.ini
 
  mkdir -p /etc/e-smith/templates-custom/etc/php.ini
Line 71: Line 77:  
  signal-event ibay-modify
 
  signal-event ibay-modify
   −
Start Zarafa services
+
====.qmail====
 
+
enable zarafa for a user
/etc/init.d/zarafa-server start
  −
/etc/init.d/zarafa-spooler start
  −
 
  −
Create Zarafa public store
  −
 
  −
/usr/bin/zarafa-admin -s
  −
 
  −
Either
  −
Create Zarafa user
  −
 
  −
/usr/bin/zarafa-admin -c 'username' -p 'password' -e 'email' -f 'fullname' -a '0'
  −
 
  −
Or use local system users, edit these first or restart services
  −
 
  −
nano /etc/zarafa/server.cfg
  −
#  USER PLUGIN SETTINGS
  −
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
  −
 
  −
enable zarafa for a user
   
  db accounts setprop xxxx zarafa enabled
 
  db accounts setprop xxxx zarafa enabled
   Line 110: Line 91:     
  /etc/e-smith/events/actions/qmail-update-user
 
  /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
    
Test webaccess with above created user or local user
 
Test webaccess with above created user or local user
    
  http://serverip/zarafa
 
  http://serverip/zarafa

Navigation menu