On Thu, 2010-12-30 at 20:53 +0800, Seasoul wrote:
Do you mean the dovecot-auth errors ?
I mean if you have auth_debug=yes enabled, and assuming you also use sql (it wasn't clear if you're using pam, sql or both since you had both enabled in dovecot.conf), you should see messages such as:
Dec 30 15:04:44 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=60878 resp=<hidden> Dec 30 15:04:44 auth: Debug: sql(tss,127.0.0.1): query: select password from users where username = 'tss' Dec 30 15:04:44 auth: Debug: client out: OK 1 user=tss Dec 30 15:04:44 auth: Debug: master in: REQUEST 1153302529 4136 1 fceb4e3382227525923b802a20ab913b Dec 30 15:04:44 auth: Debug: sql(tss,127.0.0.1): SELECT '/home/tss' as home, 1000 as uid, 1000 as gid FROM users WHERE username = 'tss' Dec 30 15:04:44 auth: Debug: master out: USER 1153302529 tss home=/home/tss uid=1000 gid=1000