dovecot - Err Authentication Failed

dovecot_learner

New member
Joined
Aug 22, 2010
Messages
2
Hello,

I am trying to setup Postfix along with dovecot on RHEL4.

I have done the necessary settings in dovecot.conf, yet I am not able to log into the POP3 server. The error I can see through WireShark/Ethereal is "Err- Authentication failed"

Some of the important settings in /etc/dovecot.conf are

disable_plaintext_auth = no
auth_mechanisms = plain
auth_userdb = passwd
auth_passdb = pam
auth_user = root

The users/passwords are setup on Linux file system without MQSql or any other database. SASL etc is not configured at all.

Please assist.

Thanks.
 
Ok.

I have modified the /etc/pam.d/dovecot file as per dovecot wiki
http://wiki.dovecot.org/PasswordDatabase/PAM

i.e.
auth required pam_unix.so nullok
account required pam_unix.so

Now I am getting 'unknown user' error as below. Please assist in resolving this issue.

Aug 22 20:24:11 PC1 dovecot: auth: Debug: pam([email protected],192.168.1.99): lookup service=dovecot
Aug 22 20:24:11 PC1 dovecot: auth: Debug: pam([email protected],192.168.1.99): #1/1 style=1 msg=Password:
Aug 22 20:24:13 PC1 dovecot: auth: pam([email protected],192.168.1.99): unknown user
Aug 22 20:24:15 PC1 dovecot: auth: Debug: client out: FAIL 1 [email protected]
Aug 22 20:24:15 PC1 dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=192.168.1.99, lip=192.168.1.117, mpid=0

Regards.
 
I guess there's a reason why you posted here; probably because we've got a Dovecot subforum.

We're a forum for the DirectAdmin webhosting control panel, and we support DirectAdmin, using Dovecot and Exim. You should probably find another place to post.

Jeff
 
Back
Top