[Dovecot] Dovecot Authentication Problem Can't Make it Work
Hi All,
I am struggling for 2 weeks solving authentication problem in dovecot.
logs from /etc/mail/maillog Oct 15 18:00:35 localhost dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so Oct 15 18:00:35 localhost dovecot: auth: Debug: auth client connected (pid=26723) Oct 15 18:00:35 localhost dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=pop3#011lip=10.0.0.123#011rip=88.22.197.66#011lport=110#011rport=2358#011resp=AGhvd2VsbEB0b3VyZm9yeW91LmluZm8AanVtb25n Oct 15 18:00:35 localhost dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_pgsql.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so Oct 15 18:00:35 localhost dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so Oct 15 18:00:35 localhost dovecot: auth: Debug: pam(howell@mydomain.info<howell@tourforyou.info>,88.22.33.66): lookup service=dovecot Oct 15 18:00:35 localhost dovecot: auth: Debug: pam(howell@mydomain.info<howell@tourforyou.info>,88.22.197.66): #1/1 style=1 msg=Password: Oct 15 18:00:37 localhost dovecot: auth: pam(howell@mydomain.info<howell@tourforyou.info>,88.22.197.66): unknown user Oct 15 18:00:39 localhost dovecot: auth: Debug: client out: FAIL#0111#011user=howell@mydomain.info#011reason=Password<http://howell@tourforyou.info/#011reason=Password> : Oct 15 18:00:39 localhost dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<howell@mydomain.info <howell@tourforyou.info>>, method=PLAIN, rip=88.22.197.66, lip=10.0.0.123
Oct 15 18:01:05 localhost sendmail[26722]: q9FA15LB026722: [88.22.197.66] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.el6.x86_64 x86_64 CentOS release 6.3 (Final) ext4 auth_debug_passwords = yes auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-userdb disable_plaintext_auth = no last_valid_gid = 10 last_valid_uid = 650 listen = * login_greeting = Dovecot ready for you. mail_debug = yes mail_location = mbox:/var/spool/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = setcred=yes failure_show_msg=yes cache_key=%u dovecot driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } service imap-login { inet_listener imap { port = 143 } } service pop3-login { inet_listener pop3 { port = 110 } } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } protocol pop3 { pop3_uidl_format = %08Xu%08Xv }
On 15/10/12 17:43, Howell Repaja wrote:
Hi All,
I am struggling for 2 weeks solving authentication problem in dovecot.
logs from /etc/mail/maillog Oct 15 18:00:37 localhost dovecot: auth: pam(howell@mydomain.info<howell@tourforyou.info>,88.22.197.66): unknown user
# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.el6.x86_64 x86_64 CentOS release 6.3 (Final) ext4 passdb { args = setcred=yes failure_show_msg=yes cache_key=%u dovecot driver = pam } userdb { driver = passwd }
Pam says that you have no such user 'howell@tourforyou.info'. Pam most probably talks to /etc/passwd (and friends), which means that you either need to login with a valid valid system username listed in /etc/passwd, or you need to setup some other userdb/passdb that supports full email addresses as usernames.
-- Tom
participants (2)
-
Howell Repaja
-
Tom Hendrikx