![]() |
Feel free with Open Source SoftwareAndries Filmer - Internet professional sinds 1996.
|
|
|
|
Scalable Open Groupware Org - SOGoShare your calendars, address books. todo's and mails in your community with a completely free and open source solution. What is SOGo?
SOGo is groupware server with a focus on scalability and open standards. SOGo provides a rich AJAX-based Web interface and supports multiple native clients through the use of standard protocols such as CalDAV, CardDAV and GroupDAV. SOGo is the missing component of your infrastructure; it sits in the middle of your servers to offer your users an uniform and complete interface to access their information. It has been deployed in production environments where thousands of users are involved.
Install SOGoThis howto is based on a install on ubuntu server (Intrepid 8.10)
vi /etc/apt/source.lst Add
deb inverse.ca/debian/ lenny lenny Then run
sudo apt-get update sudo apt-get install gnustep-make sudo apt-get install sogo sudo apt-get install slapd
Configure SOGoThis is a example SOGo configuration. There are options to authenticate users via sql and ldap. In this example we use mysql database to authenticate the users and we use a global ldap address book.
vi /home/sogo/GNUstep/Defaults/.GNUstepDefaults
{
NSGlobalDomain = {
};
"sogod" = {
OCSFolderInfoURL = "mysql://sogo:sogopassword@mysql.filmer.nl:3306/sogo/sogo_folder_info";
SOGoProfileURL = "mysql://sogo:sogopassword@mysql.filmer.nl:3306/sogo/sogo_user_profile";
SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = SQL;
SOGoCalendarDefaultRoles = (
PublicViewer,
ConfidentialDAndTViewer
);
SOGoMailDomain = mail.filmer.nl;
SOGoMailingMechanism = smtp;
SOGoSMTPServer = 127.0.0.1;
SOGoSentFolderName = Sent;
SOGoDraftsFolderName = Drafts;
SOGoTrashFolderName = Trash;
SOGoSharedFolderName = "Shared Folders";
SOGoOtherUsersFolderName = "Other Users";
SOGoSpecialFoldersInRoot = YES;
SOGoIMAPServer = "mail.filmer.nl";
SOGoUserSources =
(
{
type = sql;
id = accounts;
viewURL = "http://sogo:sogopassword@mysql.filmer.nl:3306/sogo/sogo_view";
canAuthenticate = YES;
isAddressBook = NO;
userPasswordAlgorithm = none;
displayName = "Employees";
},
{
type = ldap;
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=contacts,dc=filmer,dc=nl";
bindDN = "cn=contactread,dc=filmer,dc=nl";
bindPassword = contactreadpassword;
canAuthenticate = NO;
displayName = "LDAP addresses";
hostname = "ldap.filmer.nl";
id = contacts;
isAddressBook = YES;
port = 389;
}
);
SOGoLanguage = Dutch;
SOGoTimeZone = Europe/Amsterdam;
};
}
Tip: Read howto configure the ldap server.
Configure SOGo to use MySQLIf we use mysql to authenticate we need a create a table or view with the fields (sogo_id,c_uid,c_name,c_password,c_cn,mail). First create a database and user: mysql -u root mysql mysql> CREATE DATABASE `sogo`; mysql> GRANT ALL PRIVILEGES ON sogo.* TO sogo@'194.242.19.%' IDENTIFIED BY 'sogopassword'; Create a table or view (sogo_view.sql):
DROP TABLE IF EXISTS `sogo_view`;
CREATE TABLE `sogo_view` (
`sogo_id` int(11) NOT NULL AUTO_INCREMENT,
`c_uid` varchar(50) DEFAULT NULL,
`c_name` varchar(50) DEFAULT NULL,
`c_password` varchar(20) DEFAULT NULL,
`c_cn` varchar(50) DEFAULT NULL,
`mail` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`sogo_id`)
);
# Create a user:
insert into sogo_view (c_uid,c_name,c_password,c_cn,mail) Values ('andries','andries','pwsecret','Andries Filmer','andries@filmer.nl');
Exectute the sql query's
mysql sogo < sogo_view.sql
Configure Apache
apt-get install apache2 Configure modules
cd /etc/apache2/mods-enabled ln -s ../mods-available/proxy.load proxy.load ln -s ../mods-available/proxy_connect.load proxy_connect.load ln -s ../mods-available/proxy_http.load proxy_http.load ln -s ../mods-available/headers.load headers.load
vi /etc/apache2/sites-enabled/000-default Set
DocumentRoot /usr/lib/GNUstep/SOGo
Configure SMTP
apt-get install exim4 dpkg-reconfigure exim4-config I use a separate mailserver (Postfix Dovecot) and choose smarthost option.
Enjoy SOG0Start or restart SOGo:
/etc/init.d/sogod restart Browse to; http://host.filmer.nl/SOGo/
Debug SOGoBesides the regular logfiles I found it hard to debug SOGo. The only thing I could find to debug where the following options which can be used in GNUstepDefaults.
GCSFolderDebugEnabled = YES; OCSFolderManagerSQLDebugEnabled = YES; SOGoImapDebugEnabled = YES; SOGoDebugRequests = YES; SOGoUIxDebugEnabled = YES; SoDebugKeyLookup = YES; SoDebugBaseURL = YES;
I appreciate if you give some comment about this page. Please go ahead.
|
|
Andries Filmer | http://andries.filmer.nl | andries@filmer.nl | © 2011
|