courier-imap login problems
Hi,
I am fairly new to debian, I installed courier-imap and squirrelmail, using authuserdb as authentication module for courier-imap.
when I try logging in into squirrelmail I keep getting this error msg -
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.
my mail.log looks as follows:
localhost imaplogin: Connection, ip=[::ffff:127.0.0.1]
Nov 27 18:05:05 localhost authdaemond.plain: received auth request, service=imap, authtype=login
Nov 27 18:05:05 localhost authdaemond.plain: authuserdb: trying this module
Nov 27 18:05:05 localhost authdaemond.plain: userdb: opened /etc/courier/userdb.dat
Nov 27 18:05:05 localhost authdaemond.plain: userdb: looking up 'mohit'
Nov 27 18:05:05 localhost authdaemond.plain: userdb: home=/home/mohit, uid=1288, gid=100, shell=<unset>, mail=/var/puremail/spool/b1/553/, quota=<unset>, gecos=<unset>, options=<unset>
Nov 27 18:05:05 localhost authdaemond.plain: found imappw in userdbshadow
Nov 27 18:05:05 localhost authdaemond.plain: authuserdb: sysusername=mohit, sysuserid=1288, sysgroupid=100, homedir=/home/mohit, address=xyz, fullname=<null>, maildir=/var/puremail/spool/b1/553/, quota=<null>, options=<null>
Nov 27 18:05:05 localhost authdaemond.plain: authuserdb: clearpasswd=<null>, passwd=7RIpBD04DBWc6
Nov 27 18:05:05 localhost authdaemond.plain: supplied password '....' does not match encrypted password '7RIpBD04DBWc6'
Nov 27 18:05:05 localhost authdaemond.plain: authuserdb: REJECT - try next module
Nov 27 18:05:05 localhost authdaemond.plain: FAIL, all modules rejected
Nov 27 18:05:10 localhost imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 27 18:05:10 localhost imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=5
I am unable to figure out why it's not getting the supplied password.
however when I do authlibtest I login in successfully.
Hope I have posted enough info for someone to look into and figure out what's happening.
Appreciate any help.
Thanks,
|