Hello, I have a really big problem with SOGo. I spent a few days to resolve the issue. It happened after an upgrade to courier-imap_4.9.1 (Ubuntu 12.04 LTS) - see below for details. Everything worked well with courier-imap_4.3 (Ubuntu 8.04) -see below for details. The problem applies only to user authentication through ldap (not for mysql). Can someone help me solve the problem?
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /SOGo/so/myem...@domain.pl/Mail/view. Reason: Error reading from remote server it looks like that before patch r1664 for sope. Maybe the problem is with sope-ldap? Logs: WARNING: IMAP4 envelope address not properly closed (c0=*,c1= ): (nil) ... 2012-06-30 22:19:41.893 sogod[1662] WARNING: IMAP4 connection pooling is disabled! 2012-06-30 22:19:41.903 sogod[1662] Note(NGImap4Connection): using '/' as the IMAP4 folder separator. 2012-06-30 22:19:42.255 sogod[1662] Note: using 'UCS-2LE' on Linux. Jun 30 22:19:42 sogod [1662]: <0x0x29bce10[NGImap4ResponseParser]> WARNING: IMAP4 envelope address not properly closed (c0=*,c1= ): (nil) Jun 30 22:20:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 1 minutes Jun 30 22:21:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 2 minutes Jun 30 22:22:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 3 minutes Jun 30 22:23:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 4 minutes Jun 30 22:24:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 5 minutes Jun 30 22:25:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 6 minutes Jun 30 22:26:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 7 minutes Jun 30 22:27:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 8 minutes Jun 30 22:28:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> pid 1662 has been hanging in the same request for 9 minutes Jun 30 22:29:41 sogod [1595]: [WARN] <0x0x2334f60[WOWatchDogChild]> safety belt -- sending KILL signal to pid 1662 Jun 30 22:29:41 sogod [1595]: <0x0x2334f60[WOWatchDogChild]> child 1662 exited Jun 30 22:29:41 sogod [1595]: <0x0x2334f60[WOWatchDogChild]> (terminated due to signal 9) ... SOGo server info: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.4 LTS Release: 10.04 Codename: lucid dpkg -l |grep -E '(sogo|gnustep|sope)' | awk '{print $2 "\t" $3}' gnustep-base-common 1.19.3-1ubuntu1 gnustep-base-runtime 1.19.3-1ubuntu1 gnustep-common 2.2.0-1 gnustep-make 2.2.0-1 libgnustep-base1.19 1.19.3-1ubuntu1 libsope-appserver4.9 4.9.r1664.20120601 libsope-core4.9 4.9.r1664.20120601 libsope-gdl1-4.9 4.9.r1664.20120601 libsope-ldap4.9 4.9.r1664.20120601 libsope-ldap4.9-dev 4.9.r1664.20120601 libsope-mime4.9 4.9.r1664.20120601 libsope-xml4.9 4.9.r1664.20120601 sogo 1.3.16-1 sogo-dbg 1.3.16-1 sope4.9-appserver 4.9.r1664.20120601 sope4.9-dbg 4.9.r1664.20120601 sope4.9-gdl1-mysql 4.9.r1664.20120601 sope4.9-gdl1-postgresql 4.9.r1664.20120601 sope4.9-libxmlsaxdriver 4.9.r1664.20120601 sope4.9-stxsaxdriver 4.9.r1664.20120601 but the problem also applies to other versions such as Sogo 3.1.14 and higher on other operating systemch eg Centos 6.2. I carried out tests My config /home/sogo/GNUstep/Defaults/.GNUstepDefaults ... <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>uid</string> <key>IMAPLoginFieldName</key> <string>mail</string> <key>MailFieldNames</key> <string>mail</string> <key>UIDFieldName</key> <string>mail</string> <key>baseDN</key> <string>ou=Users,o=MyOrg,dc=myorganization,dc=pl</string> <key>bindAsCurrentUser</key> <string>YES</string> <key>bindDN</key> <string>cn=sogo,ou=Defaults,dc=myorganization,dc=pl</string> <key>bindFields</key> <array> <string>mail</string> </array> <key>bindPassword</key> <string>XXX</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>MyOrg LDAP</string> <key>hostname</key> <string>ldap.myorganization.pl</string> <key>id</key> <string>MyOrg</string> <key>isAddressBook</key> <string>NO</string> <key>port</key> <string>389</string> <key>type</key> <string>ldap</string> <key>userPasswordAlgorithm</key> <string>none</string> </dict> ... My LDAP entry: dn: uid=name.surname,ou=Users,o=myorganization,dc=MyOrg,dc=pl objectClass: CourierMailAccount objectClass: CourierMailAlias objectClass: inetOrgPerson objectClass: krb5KDCEntry objectClass: krb5Principal objectClass: organizationalPerson objectClass: person objectClass: posixAccount objectClass: sambaSamAccount objectClass: shadowAccount objectClass: top cn: Surname Name gidNumber: 500 homeDirectory: /home/name.surname krb5KeyVersionNumber: 20 krb5PrincipalName: name.surn...@myorganization.pl mail: name.surn...@myorganization.pl maildrop: name.surn...@myorganization.pl sn: Surname uid: name.surname uidNumber: 500 userPassword: {K5KEY} givenName: Name krb5KDCFlags: 126 krb5Key:: MGm...Nob m8= krb5Key:: MHG...bw== loginShell: /bin/bash mailbox: myorganizationpl/name.surname/ o: MyOrg quota: 3000000000S New Courier-Imap serwer - other machine than sogo. Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise courier-imap_4.9.1-1ubuntu4_amd64.deb Old Courier-Imap serwer - yet another machine. lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 8.04.4 LTS Release: 8.04 Codename: hardy courier-imap_4.3.0.20081027-1ubuntu1_amd64.deb -- users@sogo.nu https://inverse.ca/sogo/lists