Obsolete Releases > SME 8.x Contribs
any success for zarafa on sme8
nefkho:
hi,
i am looking for a zarafa on my sme8, any one can point me to?
thanks
Stefano:
I will work on it for a workmate in the next weeks..
basically, I will start from the contrib and I'll use zarafa 7 centos5 rpms..
ATM I can't say anything more
if you search the forums, you'll find a topic about migration from zarafa6 to zarafa7
HTH, good luck
frifri:
This is my DRAFT (please correct if needed) :
SME8b7 uses PHP5.3
1. Search on the EPEL-repositories the latest php5.3-mapi-package.
https://admin.fedoraproject.org/updates/search/php53-mapi?
2. Set the epel-repository :
--- Code: ---/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL5' \
BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled
--- End code ---
--- Code: ---signal-event yum-modify
--- End code ---
3. Download via the Zarafawebsite the corresponding package for ZCP
Unpack the corresponding package :
--- Code: ---tar -zxvf zcp-*
--- End code ---
4. Remove the devel packages and install all rpm's in the unpacked package of ZCP :
--- Code: ---yum localinstall *.rpm
--- End code ---
All packages have dependencies that cannot be resolved if you install only part of the rpm's.
5. The mailboxes are by default created in the language of the Linux server. When another language is required the following configuration file has to be changed:
--- Code: ---/etc/sysconfig/zarafa
--- End code ---
Change the option ZARAFA_USERSCRIPT_LOCALE to the correct language, for example nl_NL.UTF-8 or fr_FR.UTF-8. In order to use this language setting make sure the language packs are installed.
The option ZARAFA_LOCALE in the /etc/sysconfig/zarafa file can be used to start the Zarafa Server component in the correct language. This language setting is used to set the default options, like the Public Folder name to the correct language.
6. Check the language of your server
--- Code: ---config getprop sysconfig Language
--- End code ---
INSERT this language in /etc/zarafa/userscripts/users_common.sh :
--- Code: ---Under
ZARAFA_LANG="${ZARAFA_USERSCRIPT_LOCALE:-${LC_MESSAGES:-en_US}}"
Insert
ZARAFA_LANG="nl_NL.UTF-8"
--- End code ---
Repeat this for the files groups_common.sh and companies_common.sh located in the same directory as the users_common.sh file.
The WebAccess GUI language can be set at the login screen. This can be configured per user login.
7. We have to remove the installation of the default php-mapi.
--- Code: ---rpm -e php-mapi --nodeps
--- End code ---
8. Install the php53-mapi.rpm of the EPEL-repository :
-If you downloaded the rpm :
--- Code: ---rpm -Uvh --force php53-mapi
--- End code ---
-If you did set de EPEL-repository :
--- Code: ---yum install php53-mapi --enablerepo=epel
--- End code ---
9. Then install smeserver-zarafa. To get it manually :
--- Code: ---wget http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smedev/i386/RPMS/smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
--- End code ---
--- Code: ---yum localinstall smeserver-zarafa-0.9.0-53.el4.sme.noarch.rpm
--- End code ---
--- Code: ---/etc/e-smith/events/actions/zarafa-install
--- End code ---
You will be prompted to select the user plugin you want to use. We suggest the unix method. The unix plugin has been updated in zarafa 6.4 and now includes an option to exclude uid's and gid's. This fixes the major drawback that steered us earlier away from this plugin, but now it is your best choice. We can now use the user and group db's to exclude certain users and groups and clean up the address book and include the admin account. This unix-plugin also automatically syncs users, groups and passwords on the fly with very little effort. Note the ldap plugin is currently not supported in the rpm. The db plugin is pristine however you need to enter all the user details. In both cases the user must exist in SME first as a standard user.
10. Make the unix.cfg-template also to expand upon ibay or machine-account creation...
--- Code: ---/etc/e-smith/events/ibay-create/templates2expand/etc/zarafa/unix.cfg
/etc/e-smith/events/machine-account-create/templates2expand/etc/zarafa/unix.cfg
--- End code ---
Reload unix.cfg into zarafa so it sees newly excluded uids and gids...
--- Code: ---/etc/e-smith/events/ibay-create/services2adjust/zarafa-server -> reload
/etc/e-smith/events/machine-account-create/services2adjust/zarafa-server -> reload
--- End code ---
11. Enable mail delivery to zarafa for users:
-for all users
--- Code: ---config setprop zarafa-server GlobalForward enabled
--- End code ---
-or for individual users
--- Code: ---db accounts setprop $USERNAME zarafa enabled
--- End code ---
-apply
--- Code: ---/etc/e-smith/events/actions/qmail-update-user
--- End code ---
12. Make symbolic links.
--- Code: ---ln -s /lib/libcrypto.so.0.9.8e /usr/lib/libcrypto.so.0.9.8
ln -s /lib/libssl.so.0.9.8e /usr/lib/libssl.so.0.9.8
--- End code ---
13. We also need to think about the index_services_enabled parameter in the /etc/e-smith/templates/etc/zarafa/server.cfg/server.cfg Use Indexing service for faster searching. Enabling this option requires the zarafa-indexer service to be running.
index_services_enabled = yes
Make changes in /etc/e-smith/events/actions/zarafa-services for zarafa-indexer
--- Code: ---#!/bin/sh
FILE=/etc/rc.d/init.d/zarafa-licensed
if [ "$1" == start ]; then
/etc/rc.d/init.d/zarafa-gateway start
/etc/rc.d/init.d/zarafa-ical start
if [ -a $FILE ]; then $FILE start; fi
/etc/rc.d/init.d/zarafa-monitor start
/etc/rc.d/init.d/zarafa-server start
/etc/rc.d/init.d/zarafa-spooler start
/etc/rc.d/init.d/zarafa-indexer start
exit 0
fi
if [ "$1" == stop ]; then
/etc/rc.d/init.d/zarafa-gateway stop
/etc/rc.d/init.d/zarafa-ical stop
if [ -a $FILE ]; then $FILE stop; fi
/etc/rc.d/init.d/zarafa-monitor stop
/etc/rc.d/init.d/zarafa-indexer stop
/etc/rc.d/init.d/zarafa-spooler stop
/etc/rc.d/init.d/zarafa-server stop
exit 0
fi
if [ "$1" == restart ]; then
/etc/rc.d/init.d/zarafa-gateway stop
/etc/rc.d/init.d/zarafa-ical stop
if [ -a $FILE ]; then $FILE stop; fi
/etc/rc.d/init.d/zarafa-monitor stop
/etc/rc.d/init.d/zarafa-indexer stop
/etc/rc.d/init.d/zarafa-spooler stop
/etc/rc.d/init.d/zarafa-server stop
/etc/rc.d/init.d/zarafa-gateway start
/etc/rc.d/init.d/zarafa-ical start
if [ -a $FILE ]; then $FILE start; fi
/etc/rc.d/init.d/zarafa-monitor start
/etc/rc.d/init.d/zarafa-server start
/etc/rc.d/init.d/zarafa-spooler start
/etc/rc.d/init.d/zarafa-indexer start
exit 0
fi
if [ "$1" == enabled ]; then
config setprop zarafa-gateway status enabled
config setprop zarafa-ical status enabled
if [ -a $FILE ]; then config setprop zarafa-licensed status enabled; fi
config setprop zarafa-monitor status enabled
config setprop zarafa-server status enabled
config setprop zarafa-spooler status enabled
config setprop zarafa-indexer status enabled
exit 0
fi
if [ "$1" == disabled ]; then
config setprop zarafa-gateway status disabled
config setprop zarafa-ical status disabled
if [ -a $FILE ]; then config setprop zarafa-licensed status disabled; fi
config setprop zarafa-monitor status disabled
config setprop zarafa-server status disabled
config setprop zarafa-spooler status disabled
config setprop zarafa-indexer status disabled
exit 0
fi
echo "Usage: start|stop|restart|enabled|disabled"
exit 0
--- End code ---
Make a link /etc/rc.d/rc7.d/S99zarafa-indexer and link to /etc/rc.d/init.d/e-smith-service :
--- Code: ---ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99zarafa-indexer
--- End code ---
14. Then post-upgrade and restart.
--- Code: ---signal-event post-upgrade; signal-event reboot
--- End code ---
Stefano:
excellent! I will try it asap
just a question? does it work for Zarafa7 too?
thank you :-)
frifri:
Yes Stefano, i used it for Zarafa 7.
The latest php53-mapi is for zcp 7.0.6
F.
Navigation
[0] Message Index
[#] Next page
Go to full version