Hi all, I was looking to upgrade my dovecot .99.14 installation to 1.0alpha5 today and bumped into an issue. My setup is on Mac OS X 10.4 and I am using After reading http://wiki.dovecot.org/UpgradingDovecot , I created a default dovecot.conf file with the following information grabbed from my prior installation: Snow:~ ed$ grep -v '^ *#' /usr/local/etc/dovecot.conf|grep -v ^$ ssl_disable = yes login = imap login = pop3 auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = pam login auth_user = root auth_verbose = yes So as you can see, I use passwd and pam as my authentication db. So I copied over the dovecot-example.conf and as far as I know the only modifications I needed to make to the default file were to disable ssl and set the verbose and debug auth. Keep in mind that passwd/pam db methods work with .99.14 but with 1.0alpha5, I get the following: Jan 14 15:55:16 Snow dovecot: Dovecot v1.0.alpha5 starting up Jan 14 15:58:15 Snow dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 resp=AGVkAGFic2ludGhlMzMJan 14 15:58:15 Snow dovecot: auth(default): pam(ed,127.0.0.1): pam_authenticate() failed: Authentication failure Jan 14 15:58:15 Snow dovecot: auth(default): client out: FAIL 1 user=ed Jan 14 15:58:21 Snow dovecot: auth(default): client in: AUTH 2 PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 resp=AGVkAGFic2ludGhlMzMJan 14 15:58:21 Snow dovecot: auth(default): pam(ed,127.0.0.1): pam_authenticate() failed: Authentication failure Jan 14 15:58:21 Snow dovecot: auth(default): client out: FAIL 2 user=ed and so on and so forth. Any idea what could be causing this or how to debug this further ? Thanks in advance, Erik PS: my pam setup for dovecot is: Snow:~ ed$ more /etc/pam.d/dovecot auth required pam_unix.so nullok account required pam_unix.so
Marcus Rueckert
2006-Jan-15 14:13 UTC
[Dovecot] Looking to upgrade from .99.14 to 1.0alpha5
On 2006-01-14 21:25:22 -0500, Erik Dasque wrote:> Snow:~ ed$ more /etc/pam.d/dovecot > auth required pam_unix.so nullok > account required pam_unix.so >$ cat /etc/pam.d/dovecot #%PAM-1.0 auth required pam_unix2.so>---nullok account required pam_unix2.so password required pam_pwcheck.so nullok password required pam_unix2.so nullok use_first_pass use_authtok session required pam_unix2.so>---none # debug or trace
Erik Dasque wrote:> Hi all, > > I was looking to upgrade my dovecot .99.14 installation to 1.0alpha5 > today and bumped into an issue. > > My setup is on Mac OS X 10.4 and I am using > > After reading http://wiki.dovecot.org/UpgradingDovecot , I created a > default dovecot.conf file with the following information grabbed from > my prior installation: > > Snow:~ ed$ grep -v '^ *#' /usr/local/etc/dovecot.conf|grep -v ^$ > ssl_disable = yes > login = imap > login = pop3 > auth = default > auth_mechanisms = plain > auth_userdb = passwd > auth_passdb = pam login > auth_user = root > auth_verbose = yesdisable_plaintext_auth = no ?