Hi, What I have been trying to achieve is to be able to authenticate users through openLDAP while using Postfix, Dovecot as IMAP server and squirrelmail. I keep getting the following error messages when trying to login to squirrelmail 2011-08-17 12:27:59 auth(default): Info: client in: AUTH??? 1??? PLAIN??? service=imap??? secured??? lip=127.0.0.1??? rip=127.0.0.1??? lport=143??? rport=57794??? resp=AGFkbWluAGFwbXg2c3Bu 2011-08-17 12:27:59 auth(default): Info: ldap(myuser,127.0.0.1): invalid credentials (given password: xxx) 2011-08-17 12:28:00 auth(default): Info: new auth connection: pid=1921 2011-08-17 12:28:01 auth(default): Info: client out: FAIL??? 1??? user=myuser 2011-08-17 12:28:06 imap-login: Info: Aborted login (auth failed, 1 attempts): user=<myuser>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured This seems to be trivial but I just could not figure out what else went wrong. I wonder if anyone might be able to give me a bit of help as I'm still learning my way around under linux system environment. The following is what I have in /etc/dovecot/dovecot-slapd.conf hosts = localhost dn = cn=myadmin,dc=mycompany,dc=com dnpass = secrets auth_bind = yes auth_bind_userdn = cn=%u,ou=people,dc=mycompany,dc=com ldap_version = 3 base = ou=people, dc=pbj, dc=com, dc=au scope = subtree user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid user_filter = (&(objectClass=posixAccount)(uid=%u)) pass_attrs = uid=user,userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u)) Thank you in advance