Hi,
I have been trying to set up a mail server with Postfix as MTA, Dovecot as IMAP server, Squirrelmail and OpenLDAP on my Ubuntu Server 10.04. Although I'm still new to this linux system, I'd like to explore and learn about the system.
What I'd like to do is to be able to authenticate users to login via LDAP. I've seen a lot of articles. Some show it through the use of Postfix LDAP, and other by the use of Dovecot LDAP. I am confused as to whether or not I need to set up both Postfix LDAP and Dovecot LDAP in order to get the system to work together. At the moment, I use only Dovecot LDAP, and so far, I've been spending hours and hours with no luck whatsoever. I keep getting the following errors
auth(default): Info: ldap(mjohns,127.0.0.1): invalid credentials (given password: myuserpass)
auth(default): Info: client out: FAIL 1 user=mjohns
imap-login: Info: Aborted login (auth failed, 1 attempts): user=<mjohns>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Any help would be greatly appreciated.
Thank you