General discussion on installation and configuration of SOGo

Text archives Help

[SOGo] can't log in to the web interface

Chronological Thread 
  • From: Joel Carnat < >
  • To: < >
  • Subject: [SOGo] can't log in to the web interface
  • Date: Wed, 24 Nov 2010 16:48:53 +0100


I'm currently looking at replacing my Zarafa system with SOGo.
I've setup an external OpenLDAP, Dovecot IMAP server, MySQL and Postfix
server ( which works (tested with remote Mutt).
I've setup a SOGo 1.3.4 on an Ubuntu Server 10.04.1/amd64 (
using the "SOGo Installation Guide.pdf".

My goal is to have users authenticated from OpenLDAP (postfix, dovecot and
apache already does this).
If possible, I'd also like to have user's contacts in OpenLDAP so that any
mail client can poll them using LDAP.

At this moment, I have setup a poorly secured configuration but I plan to
harden it latter with SSL and strong passwords.

I currently have to following configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
<plist version="0.9">

<string>mysql://sogo: :3306/sogo/sogo_folder_info</string>

<string>mysql://sogo: :3306/sogo/sogo_user_profile</string>
<string>TMF LDAP Server</string>

The "/etc/apache2/conf.d/SOGo.conf" contains:
RequestHeader set "x-webobjects-server-port" "80"
RequestHeader set "x-webobjects-server-name" "ubuntu.tumfatig.local"
RequestHeader set "x-webobjects-server-url" "http://ubuntu.tumfatig.local";

My LDAP users look like:

cn: Joel Carnat
givenName: Joel
homeDirectory: /home/vmail
objectClass: CourierMailAccount
objectClass: inetOrgPerson
objectClass: top
sn: Carnat
uid: ptijo

Connecting to the MySQL from the SOGo/ubuntu server works
( :~$
mysql -h -u sogo -p sogo).
Browsing the LDAP from the SOGo/ubuntu also works
( :~$
ldapsearch -x -h -D "cn=admin,dc=tumfatig,dc=local" -W -b
"dc=tumfatig,dc=local" uid=ptijo).
Connecting to the IMAP server with telnet also works from the SOGo/Ubuntu

When I browse to http://ubuntu.tumfatig.local/SOGo/, I get the login prompt.
When I enter a login/password ("uid" field in LDAP) that works on the IMAP
server, I get a "bad username or password" message from SOGo.
I've setup a few debug parameters on SOGo but I can't find anything useful to
understand what happens :(
According to the LDAP and IMAP server, SOGo doesn't even try to connect to

Any idea on what I did wrong ?


Archive powered by MHonArc 2.6.16.

Top of page