Hi, I already had this kind of error, not with cyrus but dovecot. Either a cyrus misconfiguration or authentication with sasl (?). Have you checked your sasl config? testsaslauthd -u /user /-p/password/ Have you got cyrus logs?
Nicolas FABRE Le 25/03/2013 22:11, [email protected] a écrit :
Hello everyone, I have installed a Sogo 2.0.4 test platform on a CentOS 6.4 x64 following the Installation and configuration Guide. Here a my symptoms : - In Webmin, imap server test returns a success - A telnet on imap on my server is ok but i can't login - I can login on the Web Interface but i can't see my IMAP folders - Here is a full trace of a login sequence from sogo.log : Mar 25 16:44:13 sogod [2586]: <0x0x7ff1b3a12b38[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Mar 25 16:44:13 sogod [2586]: <0x0x7ff1b3a12b38[SOGoCache]> Using host(s) 'localhost' as server(s) 2013-03-25 16:44:13.886 sogod[2586] Note(SoObject): SoDebugKeyLookup is enabled! 2013-03-25 16:44:13.887 sogod[2586] Note(SoObject): SoDebugBaseURL is enabled! 2013-03-25 16:44:13.887 sogod[2586] Note(SoObject): relative base URLs are enabled. 2013-03-25 16:44:19.039 sogod[2586] WOCompoundElement: pool embedding is on. 2013-03-25 16:44:19.039 sogod[2586] WOCompoundElement: id logging is on. 2013-03-25 16:44:19.085 sogod[2586] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!! sogovm - - [25/Mar/2013:16:44:19 GMT] "GET /SOGo/so/ HTTP/1.1" 200 4426/0 5.287 12547 64% 4M Mar 25 16:44:29 sogod [2586]: SOGoRootPage successful login for user 'olg' - expire = -1 grace = -1 Mar 25 16:44:29 sogod [2586]: [WARN] <0x0x7ff1b3e59108[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table Mar 25 16:44:29 sogod [2586]: [WARN] <0x0x7ff1b3e59108[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table Mar 25 16:44:29 sogod [2586]: [WARN] <0x0x7ff1b3e59108[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table 2013-03-25 16:44:29.315 sogod[2586] Note: Using UTF-8 as URL encoding in NGExtensions. sogovm - - [25/Mar/2013:16:44:29 GMT] "POST /SOGo/connect HTTP/1.1" 200 27/41 0.043 - - 632K sogovm - - [25/Mar/2013:16:44:29 GMT] "GET /SOGo/so/olg HTTP/1.1" 302 0/0 0.001 - - 8K sogovm - - [25/Mar/2013:16:44:29 GMT] "GET /SOGo/so/olg/view HTTP/1.1" 302 0/0 0.012 - - 4K sogovm - - [25/Mar/2013:16:44:29 GMT] "GET /SOGo/so/olg/Mail HTTP/1.1" 302 0/0 0.005 - - 16K 2013-03-25 16:44:29.424 sogod[2586] WARNING: IMAP4 connection pooling is disabled! Mar 25 16:44:33 sogod [2586]: [ERROR] <0x0x7ff1b3f287c8[NGImap4ConnectionManager]> IMAP4 login failed: host=localhost, user=olg, pwd=yes url=imap://olg@localhost/INBOX/ base=(null) base-class=(null)) = <0x0x7ff1b3f3d078[NGImap4Client]: login=olg(pwd) socket=<NGActiveSocket[0x0x7ff1b3f2f3a8]: mode=rw address=<0x0x7ff1b3f25a98[NGInternetSocketAddress]: host=sogovm port=60790> connectedTo=<0x0x7ff1b3f2a308[NGInternetSocketAddress]: host=localhost port=143>>> 2013-03-25 16:44:33.976 sogod[2586] Note(NGImap4Connection): using '/' as the IMAP4 folder separator. Mar 25 16:44:33 sogod [2586]: <0xB3F29AD8[SOGoMailFolder]:folderINBOX> renewing imap4 password Mar 25 16:44:39 sogod [2586]: [ERROR] <0x0x7ff1b3f287c8[NGImap4ConnectionManager]> IMAP4 login failed: host=localhost, user=olg, pwd=yes url=imap://olg@localhost/INBOX/ base=(null) base-class=(null)) = <0x0x7ff1b3f6a098[NGImap4Client]: login=olg(pwd) socket=<NGActiveSocket[0x0x7ff1b3f6a758]: mode=rw address=<0x0x7ff1b3f6a7f8[NGInternetSocketAddress]: host=sogovm port=60791> connectedTo=<0x0x7ff1b3f6a228[NGInternetSocketAddress]: host=localhost port=143>>> Mar 25 16:44:39 sogod [2586]: [ERROR] <0xB3F29AD8[SOGoMailFolder]:folderINBOX> Could not connect IMAP4 sogovm - - [25/Mar/2013:16:44:39 GMT] "GET /SOGo/so/olg/Mail/view HTTP/1.1" 200 9747/0 10.069 33592 70% 1M sogovm - - [25/Mar/2013:16:44:39 GMT] "POST /SOGo/so/olg/Calendar/alarmslist?browserTime=1364244282 HTTP/1.1" 200 2/0 0.039 - - 108K Mar 25 16:44:44 sogod [2586]: [ERROR] <0x0x7ff1b3f287c8[NGImap4ConnectionManager]> IMAP4 login failed: host=localhost, user=olg, pwd=yes url=imap://olg@localhost/ base=(null) base-class=(null)) = <0x0x7ff1b3de3f38[NGImap4Client]: login=olg(pwd) socket=<NGActiveSocket[0x0x7ff1b3da6c48]: mode=rw address=<0x0x7ff1b3da9ca8[NGInternetSocketAddress]: host=sogovm port=60795> connectedTo=<0x0x7ff1b3cb5d58[NGInternetSocketAddress]: host=localhost port=143>>> Mar 25 16:44:44 sogod [2586]: <0xB3E7A118[SOGoMailAccount]:0> renewing imap4 password Mar 25 16:44:49 sogod [2586]: [ERROR] <0x0x7ff1b3f287c8[NGImap4ConnectionManager]> IMAP4 login failed: host=localhost, user=olg, pwd=yes url=imap://olg@localhost/ base=(null) base-class=(null)) = <0x0x7ff1b3ebc668[NGImap4Client]: login=olg(pwd) socket=<NGActiveSocket[0x0x7ff1b3dedf28]: mode=rw address=<0x0x7ff1b3eb5008[NGInternetSocketAddress]: host=sogovm port=60796> connectedTo=<0x0x7ff1b3e63618[NGInternetSocketAddress]: host=localhost port=143>>> Mar 25 16:44:49 sogod [2586]: [ERROR] <0xB3E7A118[SOGoMailAccount]:0> Could not connect IMAP4 sogovm - - [25/Mar/2013:16:44:49 GMT] "POST /SOGo/so/olg/Mail/0/mailboxes HTTP/1.1" 200 17/0 9.869 - - 76K sogovm - - [25/Mar/2013:16:44:49 GMT] "POST /SOGo/so/olg/Mail/foldersState HTTP/1.1" 200 0/0 0.004 - - 0 And here is my sogo configuration file : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml"> <plist version="0.9"> <dict> <key>NSGlobalDomain</key> <dict> </dict> <key>sogod</key> <dict> <key>OCSFolderInfoURL</key> <string>mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info</string> <key>OCSSessionsFolderURL</key><string>mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder</string><key>SOGoACLsSendEMailNotifications</key> <string>YES</string> <key>SOGoAppointmentSendEMailNotifications</key> <string>YES</string> <key>SOGoAuthenticationMethod</key> <string>LDAP</string> <key>SOGoDraftsFolderName</key> <string>Drafts</string> <key>SOGoFoldersSendEMailNotifications</key> <string>YES</string> <key>SOGoForceIMAPLoginWithEmail</key> <string>NO</string> <key>SOGoForwardEnabled</key> <string>NO</string> <key>SOGoIMAPServer</key> <string>localhost</string> <key>SOGoImapDebugEnabled</key> <string>YES</string> <key>SOGoLanguage</key> <string>English</string> <key>SOGoMailAuxiliaryUserAccountsEnabled</key> <string>NO</string> <key>SOGoMailDomain</key> <string>percy-test.com</string> <key>SOGoMailingMechanism</key> <string>smtp</string> <key>SOGoProfileURL</key><string>mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile</string><key>SOGoSMTPServer</key> <string>localhost</string> <key>SOGoSentFolderName</key> <string>Sent</string> <key>SOGoSieveScriptsEnabled</key> <string>YES</string> <key>SOGoSieveServer</key> <string>sieve://localhost</string> <key>SOGoTimeZone</key> <string>America/Montreal</string> <key>SOGoTrashFolderName</key> <string>Trash</string> <key>SOGoUserSources</key> <array> <dict> <key>CNFieldName</key> <string>cn</string> <key>IDFieldName</key> <string>uid</string> <key>IMAPHostFieldName</key> <string>mailHost</string> <key>UIDFieldName</key> <string>uid</string> <key>baseDN</key> <string>ou=users,dc=percy-test,dc=com</string> <key>bindDN</key> <string>cn=admin,dc=percy-test,dc=com</string> <key>bindPassword</key> <string>mypassword</string> <key>canAuthenticate</key> <string>YES</string> <key>displayName</key> <string>Shared Addresses</string> <key>hostname</key> <string>ldap://127.0.0.1:389</string> <key>id</key> <string>public</string> <key>isAddressBook</key> <string>YES</string> </dict> </array> <key>SOGoVacationEnabled</key> <string>NO</string> </dict> </dict> </plist> And my imapd configuration file : configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus root sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt allowanonymouslogin: no allowplaintext: yes Iptables and selinux are disabled. I'm using a local openLDAP as user source. I tried hard to find an answer on google and sogo community support. I saw similar issues but nothing seems to fit my environment, so i'm really stuck here. I don't know which other information people may need to help me so please ask. Olivier Gonson
-- [email protected] https://inverse.ca/sogo/lists
