[Dovecot] dovecot 0.99 to 1
Hi, I change this
auth default { mechanisms = plain passdb pam { args = "dovecot" } passdb passwd { } userdb passwd { } But i have the same error :
telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. 1 login toto mypasswd -ERR Unknown command.
telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
- OK Dovecot ready. 1 login toto mypasswd 1 OK Logged in
In pam.d/dovecot, i have auth required pam_unix.so nullok account required pam_unix.so
In pam.d/imap, i have auth required pam_nologin.so auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth session required pam_stack.so service=system-auth
In pam.d/pop3, i have auth required pam_nologin.so auth include pam_stack.so service=system-auth account include pam_stack.so service=system-auth session include pam_stack.so service=system-auth
and in pam.d/pop, i have auth required pam_nologin.so auth include system-auth account include system-auth session include system-auth
I don't know of pam
On Sat, Feb 25, 2006 at 03:18:32PM +0100, mickael.choisnard@free.fr wrote:
Hi, I change this
auth default { mechanisms = plain passdb pam { args = "dovecot" } passdb passwd { } userdb passwd { } But i have the same error :
telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. 1 login toto mypasswd -ERR Unknown command.
You're trying to speak IMAP to the POP server. That won't work, and it's not a PAM problem :-)
If you want to test that the POP server works, the syntax is
user toto pass mypasswd
telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
- OK Dovecot ready. 1 login toto mypasswd 1 OK Logged in
Speaking IMAP to the IMAP server seems to work.
HTH
participants (2)
-
Lorens
-
mickael.choisnard@free.fr