Hello, here is the thing. I set up a passwd.dovecot file in /etc with the username of geoff and password of test as follows:
geoff:test:500:501
When I try to telnet from the localhost it says "NO Authentication failed."
buy the username and password match as I have all debugging on! It makes no sense to me... Can anyone please help?!! Output is below. The CRYPT command seems to say CRYPT(test) != 'test' which means the darn password IS test!! I have spent hours on this it is driving me crazy!!
[root@cartman log]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
1 login geoff test
1 NO Authentication failed.
Aug 14 21:08:48 cartman dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=::ffff:127.0.0.1 rip=::ffff:127.0.0.1 resp=AGdlb2ZmAHRlc3Q=
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): lookup: user=geoff file=/etc/passwd.dovecot
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): Password mismatch
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): CRYPT(test) != 'test'
Aug 14 21:08:49 cartman dovecot: auth(default): client out: FAIL 1 user=geoff
Aug 14 21:08:52 cartman dovecot: imap-login: Disconnected: Too many invalid commands: user=<geoff>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
[root@cartman log]#
[root@cartman log]# dovecot -n
# /etc/dovecot.conf
disable_plaintext_auth: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: passwd-file
args: /etc/passwd.dovecot
userdb:
driver: passwd-file
args: /etc/passwd.dovecot
[root@cartman log]#
geoff:test:500:501
When I try to telnet from the localhost it says "NO Authentication failed."
buy the username and password match as I have all debugging on! It makes no sense to me... Can anyone please help?!! Output is below. The CRYPT command seems to say CRYPT(test) != 'test' which means the darn password IS test!! I have spent hours on this it is driving me crazy!!

[root@cartman log]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Dovecot ready.
1 login geoff test
1 NO Authentication failed.
Aug 14 21:08:48 cartman dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=::ffff:127.0.0.1 rip=::ffff:127.0.0.1 resp=AGdlb2ZmAHRlc3Q=
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): lookup: user=geoff file=/etc/passwd.dovecot
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): Password mismatch
Aug 14 21:08:48 cartman dovecot: auth(default): passwd-file(geoff,::ffff:127.0.0.1): CRYPT(test) != 'test'
Aug 14 21:08:49 cartman dovecot: auth(default): client out: FAIL 1 user=geoff
Aug 14 21:08:52 cartman dovecot: imap-login: Disconnected: Too many invalid commands: user=<geoff>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
[root@cartman log]#
[root@cartman log]# dovecot -n
# /etc/dovecot.conf
disable_plaintext_auth: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: passwd-file
args: /etc/passwd.dovecot
userdb:
driver: passwd-file
args: /etc/passwd.dovecot
[root@cartman log]#