Scalable OpenGroupware.org
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.
Listing 1. Apache Configuration
Alias /SOGo.woa/WebServerResources/ \
<GNUSTEP_LOCAL_ROOT>/Library/SOGo-0.9/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
<GNUSTEP_LOCAL_ROOT>/Library/SOGo-0.9/$1.SOGo/Resources/$2
<LocationMatch "^/SOGo*">
AddDefaultCharset UTF-8
SetHandler ngobjweb-adaptor
SetAppPort <sogod-0.9 port>
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*png">
SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*gif">
SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*css">
SetHandler default-handler
</LocationMatch>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*js">
SetHandler default-handler
</LocationMatch>
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.
Listing 2. SOGo Configuration Parameters
NSGlobalDomain = {
};
"sogod-0.9" = {
AgenorProfileURL = "http://sogo:sogo@127.0.0.1:5432/sogo/
↪sogo_user_profile";
NGUseUTF8AsURLEncoding = YES;
OCSFolderInfoURL = "http://sogo:sogo@127.0.0.1:5432/sogo/
↪sogo_folder_info";
SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthentificationMethod = LDAP;
SOGoDefaultLanguage = English;
SOGoDefaultMailDomain = example.com;
SOGoDraftsFolderName = INBOX.Drafts;
SOGoFallbackIMAP4Server = localhost;
SOGoLDAPSources = (
{
CNFieldName = displayName;
IDFieldName = cn;
UIDFieldName = cn;
baseDN = "ou=example,dc=com";
bindDN = "cn=superuser,ou=Users,dc=example,dc=com";
bindPassword = 0xdeadk0w;
canAuthenticate = YES;
displayName = "Corporate Directory";
hostname = 127.0.0.1;
id = public;
isAddressBook = YES;
port = 389;
}
);
SOGoMailSpoolPath = "/var/spool/sogo";
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = "Other Users";
SOGoSMTPServer = 127.0.0.1;
SOGoSentFolderName = INBOX.Sent;
SOGoServerTimeZone = Canada/Eastern;
SOGoSharedFolderName = "Shared Folders";
SOGoSpecialFoldersInRoot = YES;
SOGoTrashFolderName = INBOX.Trash;
SOGoUseLocationBasedSentFolder = YES;
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 25000;
WOUseRelativeURLs = NO;
};
}
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.
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- RSS Feeds
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Home, My Backup Data Center
- Developer Poll
- What's the tweeting protocol?
- Dart: a New Web Programming Experience
- New Products
- Web Hosting IQ
9 min 40 sec ago - Thanks for taking the time to
1 hour 46 min ago - Linux is good
3 hours 44 min ago - Reply to comment | Linux Journal
4 hours 1 min ago - Web Hosting IQ
4 hours 31 min ago - Web Hosting IQ
4 hours 31 min ago - Web Hosting IQ
4 hours 32 min ago - Reply to comment | Linux Journal
7 hours 33 min ago - play with linux? i think you mean work-around linux
15 hours 59 min ago - Where is Epistle?
16 hours 5 min ago
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.





Comments
SOGo 1.1.0 with SOPE r1660 compilation
just do apt-get install libmemcached-dev
Enjoy
SOGoCache.h:29:36: warning: libmemcached/memcached.h: No such fi
I am having the same issue... Running on Ubuntu 8.04 64 Bit.
SOGO's compilation
Hello there,
Francis this is great tutorial!
However, you may need to update it as the option --with-gnustep in
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 :
Would someone knows how to resolve this issue ?
Best regards,
arnaud
Good Tutorial
Pertamax!!