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.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
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
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| 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 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- another very interesting
49 min 43 sec ago - Reply to comment | Linux Journal
2 hours 43 min ago - Reply to comment | Linux Journal
9 hours 37 min ago - Reply to comment | Linux Journal
9 hours 53 min ago - Favorite (and easily brute-forced) pw's
11 hours 44 min ago - Have you tried Boxen? It's a
17 hours 36 min ago - seo services in india
22 hours 8 min ago - For KDE install kio-mtp
22 hours 8 min ago - Evernote is much more...
1 day 8 min ago - Reply to comment | Linux Journal
1 day 8 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout 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 Pi Cobbler Breakout 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
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?





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!!