Hi all, I am a newbie with dovecot. I have a problem with it's authentication.<br> -I installed dovecot 1.0 beta3 at /usr/local/dovecot.<br clear="all"> -I want to use my linux system accounts with mail (authentication using /etc/passwd).
<br> -I have a user account: huytq with password: 123456<br> -dovecot is started ok. I used telnet to login:<br><br> +OK Welcome LENSECAP HCM mail<br> user huytq<br> +OK<br> pass 123456
<br> -ERR Authentication failed.<br><br>and this is the infolog file says:<br> dovecot: Mar 18 22:26:50 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=<a href="http://192.168.1.254">
192.168.1.254</a> rip=<a href="http://192.168.1.253">192.168.1.253</a> resp=<hidden><br> dovecot: Mar 18 22:26:50 Info: auth(default): passwd(huytq,<a href="http://192.168.1.253">192.168.1.253</a>): password mismatch
<br> dovecot: Mar 18 22:26:51 Info: auth(default): client out: FAIL 1 user=huytq<br> dovecot: Mar 18 22:27:50 Info: pop3-login: Disconnected: Inactivity: user=<huytq>, method=PLAIN, rip=<a href="http://192.168.1.253">
192.168.1.253</a>, lip=<a href="http://192.168.1.254">192.168.1.254</a><br><br>This is my conf file:<br><br>###################### dovecot.conf #################################<br> base_dir = /opt/dovecot/<br> protocols = pop3
<br> listen = <a href="http://192.168.1.254">192.168.1.254</a><br><br> ssl_disable = yes<br><br> log_path = /usr/local/dovecot/log/log<br> info_log_path = /usr/local/dovecot/log/infolog<br> log_timestamp = "%b %d %H:%M:%S "
<br><br> disable_plaintext_auth = no<br> auth_debug = yes<br> auth_verbose = yes<br><br>auth default {<br> mechanisms = plain<br> passdb passwd {<br> }<br> userdb passwd {<br>
}<br> user = root<br>}<br><br> login_dir = /opt/dovecot/login<br> login_chroot = yes<br> login_user = dovecot<br> login_greeting = Welcome QuocHuy mail server<br> login_log_format_elements = user=<%u> homedir=%h method=%m rip=%r lip=%l %c
<br> login_log_format = %$: %s<br><br> default_mail_env = maildir:/opt/mail_data/%u/Maildir<br><br> mail_debug = yes<br><br>protocol pop3 {<br> login_executable = /usr/local/dovecot/libexec/dovecot/pop3-login
<br> mail_executable = /usr/local/dovecot/libexec/dovecot/pop3<br> pop3_uidl_format = %v.%u<br>}<br>#########################################################<br><br>Any opinion?<br>Thanks in advance.<br>-- <br>
Quoc Huy Trinh<br>