Scalable OpenGroupware.org

Finally, a scalable groupware solution that matches the offerings from big vendors.
Configuration

The first step in SOGo's configuration is creating a sogo user. The SOGo dæmon runs under this user:

% adduser sogo

Once you've created the user, you need to configure Apache. Do echo $GNUSTEP_LOCAL_ROOT, and remember the value, as it will be required shortly. Create the file /etc/apache2/conf.d/SOGo.conf (elsewhere if you are not using Debian) with the content shown in Listing 1.

You must replace <GNUSTEP_LOCAL_ROOT> with the echoed value of $GNUSTEP_LOCAL_ROOT (/usr/GNUstep/Local under Debian). Once the file has been created, restart Apache.

Now you can proceed with the SOGo database creation. Because we use PostgreSQL here, perform the following steps:

% su - postgres
% createuser --no-createdb --no-adduser --encrypted --pwprompt sogo
% createdb -O sogo sogo
% exit

Before starting SOGo, configure it with a basic set of configuration parameters. The configuration file is located in $HOME/GNUstep/Defaults/.GNUstepDefaults, where $HOME is the home directory of your sogo user. Create this file with the content shown in Listing 2.

For now, the most important parameters in the configuration file from Listing 2 are AgenorProfileURL and OCSFolderInfoURL, which must point to your PostgreSQL database server. SOGoLDAPSources must point to your LDAP server. In this example, the LDAP source will be used not only for authentication but also to provide a shared address book called Corporate Directory, which will be accessible both from the Web and native interfaces.

Finally, launch the SOGo dæmon:

% /usr/local/sbin/sogod-0.9

From Firefox, you now can access http://localhost/SOGo. You will need to provide the user name/password that you normally use for IMAP. Figure 1 shows SOGo's login window.

Figure 1. Login Window

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

SOGo 1.1.0 with SOPE r1660 compilation

SOGood's picture

just do apt-get install libmemcached-dev
Enjoy

SOGoCache.h:29:36: warning: libmemcached/memcached.h: No such fi

Anonymous's picture

I am having the same issue... Running on Ubuntu 8.04 64 Bit.

SOGO's compilation

Arnaud's picture

Hello there,

Francis this is great tutorial!

However, you may need to update it as the option --with-gnustep in

   % cd ../SOGo-trunk
   % ./configure --with-gnustep --enable-strip --disable-debug

doesn't seem to exist anymore.

Then on my Debian Lenny machine, the GNUstep make is located in /usr/share/GNUstep/Makefiles/, no more in /usr/GNUstep/System/Library/Makefiles/

Finally, I still have an error during the SOGo's make :

   SOGoCache.h:29:36: warning: libmemcached/memcached.h: No such file or directory

Would someone knows how to resolve this issue ?

Best regards,
arnaud

Good Tutorial

nirwan's picture

Pertamax!!

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot