Hello Tomas, 
>Your IMAP folders don't match Cyrus IMAP namespace.
You are wright.
that was on a production server running with wu-imapd and then dovecot since a
decade or more, but it was smoothly running (samba, squid, apache and all the
others authenticating against openldap), so i gave it a try on that "stable"
config.

I am back to my devel server, freshly installed with CentOS 5.5 to host SOGo.

its config is as follows:
defaults write sogod SOGoTimeZone "Africa/Tunis"
defaults write sogod SOGoMailDomain "fmc.clients.fathi.eu.org"
defaults write sogod SOGoLanguage French
defaults write sogod SOGoAppointmentSendEMailNotifications YES
defaults write sogod SOGoFoldersSendEMailNotifications YES
defaults write sogod SOGoACLsSendEMailNotifications YES
defaults write sogod SOGoMailingMechanism smtp
defaults write sogod SOGoSMTPServer 127.0.0.1
defaults write sogod SOGoDraftsFolderName INBOX/Drafts
defaults write sogod SOGoSentFolderName INBOX/Sent
defaults write sogod SOGoTrashFolderName INBOX/Trash
defaults write sogod SOGoOtherUsersFolderName = "Boites partagees"
defaults write sogod SOGoSharedFolderName = "Dossiers partages"
defaults write sogod SOGoIMAPServer 127.0.0.1
defaults write sogod SOGoIMAPAclConformsToIMAPExt YES
defaults write sogod SOGoVacationEnabled YES
defaults write sogod SOGoForwardEnabled YES
defaults write sogod SOGoDayStartTime 8
defaults write sogod SOGoDayEndTime 19
defaults write sogod SOGoFirstDayOfWeek 1
defaults write sogod SOGoProfileURL
"postgresql://sogo:[email protected]:5432/sogo/sogo_user_profile"
defaults write sogod OCSFolderInfoURL
"postgresql://sogo:[email protected]:5432/sogo/sogo_folder_info"
defaults write sogod SOGoSuperUsernames '(support, fmc_admin)'
defaults write sogod SOGoAuthenticationMethod = LDAP
defaults write sogod passwordPolicy YES
defaults write sogod SOGoUserSources '(
{
type = ldap;
CNFieldName = cn;
IDFieldName = uid;
UIDFiledName = uid;
IMAPHostFieldName = mailHost;
baseDN = "ou=People,dc=intranet,dc=fmc";
bindFields = (posixAccount);
scope = SUB;
filter = "(objectClass=posixAccount)";
canAuthenticate = YES;
hostname = 127.0.0.1;
displayName = "Carnet Adresses Entreprise";
id = corporate_directory;
isAddressBook = YES;
port = 389;
}
)'

>Could you show ldif export of some user account information stored in LDAP?
Here it is:
dn: uid=b.ordre,ou=People,dc=intranet,dc=fmc
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
objectClass: inetLocalMailRecipient
cn: Bureau ORDRE
sn: ORDRE
givenName: Bureau
uid: b.ordre
uidNumber: 1020
gidNumber: 513
homeDirectory: /home/b.ordre
loginShell: /sbin/nologin
gecos: Bureau ORDRE
structuralObjectClass: inetOrgPerson
entryUUID: 01c70602-0618-102f-8ea1-8b47e61c086a
creatorsName: cn=manager,dc=intranet,dc=fmc
createTimestamp: 20100607003315Z
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
displayName: Bureau ORDRE
sambaSID: S-1-5-21-1640797666-3339363615-2153414665-3040
sambaPrimaryGroupSID: S-1-5-21-1640797666-3339363615-2153414665-513
sambaNTPassword: ****************************
userPassword:: ********************************
shadowLastChange: 14767
sambaProfilePath: \\serveur\homes\profile
sambaLogonScript: logon.cmd
sambaHomePath: \\serveur\homes
sambaPwdCanChange: 0
shadowMax: 181
shadowMin: 14
shadowWarning: 14
shadowInactive: 31
sambaHomeDrive: H:
sambaPwdLastSet: 0
sambaPwdMustChange: 0
sambaAcctFlags: [DU         ]
sambaDomainName: INTRANET
description: Bureau d'ordre Central
mail: [email protected]
employeeType: Virtual
entryCSN: 20100607003617Z#000002#00#000000
modifiersName: cn=manager,dc=intranet,dc=fmc
modifyTimestamp: 20100607003617Z

The SOGo.conf apache config file is as follow:
ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate

<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
  RequestHeader set "x-webobjects-server-port" "443"
  RequestHeader set "x-webobjects-server-name" "serveur.intranet.fmc"
  RequestHeader set "x-webobjects-server-url" "https://192.168.1.5";

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"

  RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
  RequestHeader set "x-webobjects-remote-host" "127.0.0.1"

  AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all
</Proxy>
The rest not beeing touched.

I am also accessing sogod directly through port 20000 for the purposes of this
test not through apache; and what I get in the web browser is :
An unhandled error occurred.

my sogo.log is as following:
Jun 07 17:44:17 sogod: SOGo watchdog [3704]: [WARN] <0x0x9ea5c50[WOWatchDog]>
'WOHttpAllowHost' is ignored in watchdog mode, use a real firewall instead
Jun 07 17:44:17 sogod: SOGo watchdog [3704]: <0x0x9ea5c50[WOWatchDog]>
listening on *:20000
Jun 07 17:44:17 sogod: SOGo watchdog [3704]: <0x0x9ea5c50[WOWatchDog]> watchdog
process pid: 3704
Jun 07 17:44:17 sogod: SOGo watchdog [3704]: <0x0x9ea5c50[WOWatchDog]>
preparing 1 children
Jun 07 17:44:17 sogod: SOGo watchdog [3705]: SNS support disabled.
Jun 07 17:44:17 sogod: SOGo watchdog [3704]: <0x0x9ea5c50[WOWatchDog]> child
spawned with pid 3705
Jun 07 17:44:17 sogod: SOGo watchdog [3705]: <0x0xa00c598[SOGoProductLoader]>
SOGo products loaded from '/usr/GNUstep/System/Library/SOGo':
Jun 07 17:44:17 sogod: SOGo watchdog [3705]: <0x0xa00c598[SOGoProductLoader]>  
Mailer.SOGo, SchedulerUI.SOGo, MailPartViewers.SOGo, PreferencesUI.SOGo,
CommonUI.SOGo, MailerUI.SOGo, Appointments.SOGo, ContactsUI.SOGo, MainUI.SOGo,
Contacts.SOGo, AdministrationUI.SOGo
Jun 07 17:44:17 sogod: SOGo watchdog [3705]: |SOGo| version 1.2.2 (build
[email protected] 201005041658) -- starting
Jun 07 17:44:17 sogod: SOGo watchdog [3705]: |SOGo| vmem size check enabled:
shutting down app when vmem > 384 MB
2010-06-07 17:59:32.249 sogod[3705] Note: Using UTF-8 as URL encoding in
NGExtensions.
Jun 07 17:59:32 sogod: SOGo watchdog [3705]: <0x0xa0fe8b8[SOGoCache]> Cache
cleanup interval set every 300.000000 seconds
Jun 07 17:59:32 sogod: SOGo watchdog [3705]: <0x0xa0fe8b8[SOGoCache]> Using
host(s) 'localhost' as server(s)
2010-06-07 17:59:32.270 sogod[3705] Note(SoObject): SoDebugKeyLookup is
enabled!
2010-06-07 17:59:32.270 sogod[3705] Note(SoObject): SoDebugBaseURL is enabled!
2010-06-07 17:59:32.270 sogod[3705] Note(SoObject): relative base URLs are
enabled.
2010-06-07 17:59:32.387 sogod[3705] WOCompoundElement: pool embedding is on.
2010-06-07 17:59:32.387 sogod[3705] WOCompoundElement: id logging is on.
2010-06-07 17:59:32.457 sogod[3705] WARNING(-[NSNull(misc) count]): called
NSNull -count (returns 0) !!!
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET / HTTP/1.1" 200 3764/0
0.301 10494 64% 2M
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/generic.css HTTP/1.1" 200 18435/0 0.006 - - 8K
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/dtree.css HTTP/1.1" 200 664/0 0.011 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/SOGoRootPage.css HTTP/1.1" 200 2159/0 0.032 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/sogo-logo.png HTTP/1.1" 200 5523/0 0.014 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/inverse.png HTTP/1.1" 200 2562/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/busy.gif HTTP/1.1" 200 825/0 0.009 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/prototype.js HTTP/1.1" 200 139854/0 0.015 - - 228K
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/XMLHttpRequest.js HTTP/1.1" 200 11768/0 0.007 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/tablekit.js HTTP/1.1" 200 32247/0 0.008 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/tablekit-trueresize.js HTTP/1.1" 200 4233/0 0.005 - -
0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/tablekit-sogo.js HTTP/1.1" 200 517/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/JavascriptAPIExtensions.js HTTP/1.1" 200 10263/0 0.005
- - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/SOGoRootPage.js HTTP/1.1" 200 11571/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/PasswordPolicy.js HTTP/1.1" 200 4086/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/HTMLElement.js HTTP/1.1" 200 9886/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/HTMLInputElement.js HTTP/1.1" 200 1730/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/HTMLTableElement.js HTTP/1.1" 200 1136/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/generic.js HTTP/1.1" 200 51940/0 0.009 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/SOGoDragHandles.js HTTP/1.1" 200 8864/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/SOGoTabsController.js HTTP/1.1" 200 5923/0 0.005 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:32 GMT] "GET
/.woa/WebServerResources/scriptaculous.js HTTP/1.1" 200 2862/0 0.003 - - 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:33 GMT] "GET
/.woa/WebServerResources/scriptaculous/effects.js HTTP/1.1" 404 153/0 0.023 - -
12K
wasabi.intranet.fmc - - [07/Jun/2010:17:59:33 GMT] "GET
/.woa/WebServerResources/scriptaculous/dragdrop.js HTTP/1.1" 404 154/0 0.004 -
- 0
wasabi.intranet.fmc - - [07/Jun/2010:17:59:35 GMT] "GET
/.woa/WebServerResources/sogo.ico HTTP/1.1" 200 4887/0 0.004 - - 0

TIA.
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to