General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Can't get rid of "IMAP4 login failed"


Chronological Thread 
  • From: Nicolas Fabre < >
  • To:
  • Subject: Re: [SOGo] Can't get rid of "IMAP4 login failed"
  • Date: Tue, 26 Mar 2013 18:04:01 +0100

Perhaps you have missed some packages
What is the return of :
dpkg --get-selections | grep sasl
dpkg --get-selections | grep cyrus

I have seen this doc (in french - i guess you are french too) :
http://wiki.readthefmanual.info/index.php/Installation_d%E2%80%99une_solution_de_travail_collaboratif_SOGo_sur_Debian#CYRUS

There is a list of packages to install for cyrus and sasl, check it.

Also can you post the return of :
ps aux | grep sasl

And when you log in the web interface, what are the  imap returns in /var/log/syslog?

bye

Nicolas FABRE


Le 26/03/2013 15:01, "> a écrit :
" type="cite">
Hi Nicolas,

Thanks for your answer. I think you're right, it definitely is a SASLauthd
issue :

# testsaslauthd -u olg -p MyPasswd
0: NO "authentication failed"

So here my configuration :

# more /etc/saslauthd.conf
LDAP_SERVERS: ldap://localhost
LDAP_DEFAULT_DOMAIN: percy-test.com
 
LDAP_TIMEOUT: 10
LDAP_TIME_LIMIT: 10
LDAP_CACHE_TTL: 30
LDAP_CACHE_MEM: 32768
LDAP_VERSION: 3
 
LDAP_USE_SASL: no
 
LDAP_AUTH_METHOD: bind
 
LDAP_BIND_DN: cn=admin,dc=percy-test,dc=com
LDAP_BIND_PW: MyPasswd
 
LDAP_SEARCH_BASE: ou=users,dc=percy-test,dc=com
LDAP_SCOPE: sub
 
LDAP_FILTER: uid=%u
LDAP_PASSWORD_ATTR: userPassword

I can bind OK on the LDAP with this olg users with an LDAP client.


Concerning the cyrus log, i can only find those lines when in maillog :

Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving log file:
/var/lib/imap/db/log.0000000001
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving log file:
/var/lib/imap/db/log.0000000001
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving log file:
/var/lib/imap/db/log.0000000001
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving database file:
/var/lib/imap/annotations.db
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving database file:
/var/lib/imap/mailboxes.db
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: archiving log file:
/var/lib/imap/db/log.0000000001
Mar 26 09:34:05 sogovm ctl_cyrusdb[14964]: done checkpointing cyrus databases
Mar 26 09:58:27 sogovm master[15382]: about to exec /usr/lib/cyrus-imapd/imapd
Mar 26 09:58:30 sogovm master[15383]: about to exec /usr/lib/cyrus-imapd/imap




Archive powered by MHonArc 2.6.18.

Top of page