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

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



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

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,

Good Tutorial

nirwan's picture


White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState