Re: [Dovecot] Authentication failed, failure to login after changed password

2009-08-28 Thread linuxvinit

Hi Timo,

Thanks for your reply.
dovecot file is in the right place /etc/pam.d/dovecot
and content of this file is following.

#%PAM-1.0

@include common-auth
@include common-account
@include common-session
@include common-password

All those include file have all required module configuration. 
I don't why it is not working . It works fine for any new user  until he
didn't change the password.

Please guide how i can solve this issue. 


Timo Sirainen wrote:
> 
> On Thu, 2009-08-27 at 06:57 +, Vinit Jain wrote:
>> Aug 26 12:22:00 digibeanz dovecot-auth:
>> pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0
>> tty=dovecot ruser=child2 rhost=127.0.0.1  user=child2
> 
> http://wiki.dovecot.org/WhyDoesItNotWork
> 
> My guess is you're missing /etc/pam.d/dovecot
> 
> 
>  
> 
vinit...@hotmail.com
-- 
View this message in context: 
http://www.nabble.com/Authentication-failed%2C-failure-to-login-after-changed-password-tp25167211p25187192.html
Sent from the Dovecot mailing list archive at Nabble.com.



[Dovecot] Authentication failed, failure to login after changed password

2009-08-26 Thread linuxvinit

I have installed dovecot 1.0 mail  server on debian linux.  I am using unix
authentication to login the mail accounts.
We developed one web mail application whcih use imap protocol  and send mail
fro sending the mail.
We are creating unix user through our application and able to login to the
mail account succesfully and do all opeartion on that.
But once user change password through our application or directly on unix
commaqnd prompt then we are unable to login to mail application it gives
authentication failed error.

Even user can use ssh, sftp after changing password. Everything works except
mail account.

Here is the error excerpt from log files (mail.log and auth.log )
respectively.

Aug 26 10:58:37 digibeanz dovecot: imap-login: Aborted login (1
authentication attempts): user=, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, TLS

Aug 26 12:22:00 digibeanz dovecot-auth: pam_unix(dovecot:auth):
authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=child2
rhost=127.0.0.1  user=child2

Please help me. This is very urgent


-- 
View this message in context: 
http://www.nabble.com/Authentication-failed%2C-failure-to-login-after-changed-password-tp25151130p25151130.html
Sent from the Dovecot mailing list archive at Nabble.com.