dovecot -n
# 2.0.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.38.8-32.fc15.i686.PAE i686 Fedora release 15 (Lovelock)
auth_debug_passwords = yes
disable_plaintext_auth = no
info_log_path = /var/log/dovecot-info.log
log_path = /var/log/dovecot.log
mail_access_groups = mail
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
mail_privileged_group = mail
mbox_write_locks = fcntl
passdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0666
    user = postfix
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
protocol lmtp {
  mail_plugins = quota sieve
}

cat /etc/dovecot/users
..........
te...@example.com:{PLAIN}test1pass

BUT,
. OK Pre-login capabilities listed, post-login capabilities have more.
a login te...@example.com test1pass
* BYE Internal error occurred. Refer to server log for more information.
closed

From the server:
Oct 22 21:45:53 auth-worker: Debug: passwd-file /etc/dovecot/users: Read 5 users Oct 22 21:45:53 auth-worker: Debug: pam(te...@example.com,www.xx.yy.zz): lookup service=dovecot Oct 22 21:45:53 auth-worker: Debug: pam(te...@example.com, ): #1/1 style=1 msg=Password:
Oct 22 21:45:55 auth-worker: Info: pam(te...@example.com,   ): unknown user
Oct 22 21:45:55 auth: Debug: passwd-file(te...@example.com, ): lookup: user=te...@example.com file=/etc/dovecot/users
Oct 22 21:45:55 auth: Debug: client out: OK     1       user=te...@example.com
Oct 22 21:45:55 auth: Debug: master in: REQUEST 2303328257 27060 1 964b20421c19356f1cbdefbf976467e0
Oct 22 21:45:55 auth: Debug: passwd(te...@example.com,    ): lookup
Oct 22 21:45:55 auth: Info: passwd(te...@example.com,   ): unknown user
Oct 22 21:45:55 auth: Debug: passwd-file(te...@example.com, ): lookup: user=te...@example.com file=/etc/dovecot/users
Oct 22 21:45:55 auth: Debug: master out: USER   2303328257      
te...@example.com
Oct 22 21:45:55 imap-login: Info: Login: user=<te...@example.com>, method=PLAIN, rip= , lip= , mpid=27062, TLS


What's wrong with my configuration?

Thanks,

sean

Reply via email to