Find the answer to your Linux question:
Results 1 to 2 of 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 ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2

    dovecot - Err Authentication Failed

    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.

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2
    Ok.

    I have modified the /etc/pam.d/dovecot file as per dovecot wiki

    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(test@mailone.abc.ae,192.168.1.99): lookup service=dovecot
    Aug 22 20:24:11 PC1 dovecot: auth: Debug: pam(test@mailone.abc.ae,192.168.1.99): #1/1 style=1 msg=Password:
    Aug 22 20:24:13 PC1 dovecot: auth: pam(test@mailone.abc.ae,192.168.1.99): unknown user
    Aug 22 20:24:15 PC1 dovecot: auth: Debug: client out: FAIL 1 user=test@mailone.abc.ae
    Aug 22 20:24:15 PC1 dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<test@mailone.abc.ae>, method=PLAIN, rip=192.168.1.99, lip=192.168.1.117, mpid=0

    Regards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...