Dovecot Auth Issue

Austin Einter austin.einter at gmail.com
Tue Oct 21 15:44:40 UTC 2014


Dear All
I have been able to setup postfix and dovecot.
Through command line, I can send mail out.

Now I have installed roundcube in mail server side, and I am able to access
like https://mydomain/webmail.com

Login was failing. Then I debugged and modified settings in dovecot and
using PAM for authentication.

Now I trying to login to email server.

I am not sure if authentication by dovecot and pam is successful.

I enabled logging for dovecot. The below logs I get when a user "try" logs
in.

 Oct 21 07:44:55 auth: Debug: Loading modules from directory:
/usr/lib/dovecot/modules/auth
Oct 21 07:44:55 auth: Debug: Module loaded:
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
Oct 21 07:44:55 auth: Debug: auth client connected (pid=15357)
Oct 21 07:44:55 auth: Debug: client in: AUTH    1    PLAIN
service=imap    secured    lip=128.199.214.27    rip=128.199.214.27
lport=993    rport=43323    resp=AHRyeUBsb2FkbXVsdGlwbGllci5jb20AdHJ5MTIz
Oct 21 07:44:55 auth-worker: Debug: Loading modules from directory:
/usr/lib/dovecot/modules/auth
Oct 21 07:44:55 auth-worker: Debug: Module loaded:
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
Oct 21 07:44:55 auth-worker: Debug: pam(try,128.199.214.27): lookup
service=dovecot
Oct 21 07:44:55 auth-worker: Debug: pam(try,128.199.214.27): #1/1 style=1
msg=Password:
Oct 21 07:44:55 auth: Debug: client out: OK    1    user=try
Oct 21 07:44:55 auth: Debug: master in: REQUEST    1571291137    15357
1    b3cc155dfd3bb2fd576bfeeceaf1ce3d
Oct 21 07:44:55 auth: Debug: passwd(try,128.199.214.27): lookup

*Oct 21 07:44:55 auth: Debug: master out: USER    1571291137    try
home=/var/mail/    mail=maildir:/var/mail/try    system_groups_user=try
uid=5001    gid=5001*Oct 21 07:44:55 imap-login: Info: Login: user=<try>,
method=PLAIN, rip=128.199.214.27, lip=128.199.214.27, mpid=15361, TLS
*Oct 21 07:44:55 imap(try): Info: Disconnected: Logged out bytes=29/399*

>From the logs above (in bold), I hope auth is successful, then in last line
why it is logging out.., I am confused , not sure if auth is completely
successful or not.


Kindly experts please help.

Best Regards,
Austin


More information about the dovecot mailing list