Hi, Gentoo updated dovecot to 1.0 beta3 and don't succeed in authentification with pop3. Here is my dovecot.conf 0.99 protocols = imap imaps pop3 pop3s imap_listen = * pop3_listen = * imaps_listen = * pop3s_listen = * login = imap login = pop3 default_mail_env = maildir:%h/.maildir mbox_locks = fcntl dotlock auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = pam dovecot auth_user = root auth_verbose = yes auth_debug = yes and here is my translation for dovecot.conf 1.0 protocols = imap imaps pop3 pop3s listen = * default_mail_env = maildir:%h/.maildir protocol imap { } protocol pop3 { } mbox_read_locks = fcntl mbox_write_locks = dotlock fcntl auth default { mechanisms = plain passdb pam { args = "*" } passdb passwd { } userdb passwd { } user = root } I succeed in connection with telnet localhost 143 but not with pop3 I compiled dovecot with -debug +ipv6 -kerberos +ldap -mbox +mysql +pam +pop3d -postgres +ssl -vpopmail Thank you for your help
On Sat, 2006-02-25 at 08:24 +0100, mickael.choisnard at free.fr wrote:> auth_passdb = pam dovecotHere it's using /etc/pam.d/dovecot> passdb pam { > args = "*" > }Here it's using /etc/pam.d/imap and /etc/pam.d/pop3. Probably change that to args = dovecot. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060225/f25ec008/attachment.bin>
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