I've just upgraded to Dovecot 2.0.13 from 2.0.12 When I authenticate via telnet it closes the connection and the logs show: May 13 16:59:16 master: Info: Dovecot v2.0.13 starting up (core dumps disabled) May 13 16:59:40 auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth May 13 16:59:40 auth: Debug: passwd-file /usr/local/etc/dovecot/master-users: Read 1 users May 13 16:59:40 auth: Debug: auth client connected (pid=22124) May 13 16:59:46 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=37146 resp=<hidden> May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): pass search: base=dc=domain,dc=com scope=subtree filter=(&(|(uidedward at dev.domain.com)(mailAlternateAddress=edward at dev.domain.com))(nimPimUserStatus=active)) fields=uid,userPassword May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): result: userPassword(password)=<hidden> uid(user)=edward at dev.domain.com May 13 16:59:46 auth: Debug: client out: OK 1 useredward at dev.domain.com May 13 16:59:46 auth: Debug: master in: REQUEST 885784577 22124 1 48936eabc3d31fe740c83dd3339261b7 May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): user search: base=dc=nitido,dc=com scope=subtree filter=(&(|(uidedward at dev.domain.com)(mailAlternateAddress=edward at dev.domain.com))(nimPimUserStatus=active)) fields=homeDirectory,quotaMailSoft May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): result: homeDirectory(home)=/home/dev.domain.com/edward at dev.domain.comquotaMailSoft(quota_rule=*:storage=%$M)=2 May 13 16:59:46 auth: Debug: master out: USER 885784577 edward at dev.domain.com home=/home/dev.domain.com/edward at dev.domain.comquota_rule=*:storage=2M May 13 16:59:46 imap-postlogin: Error: script-login: Error: user edward at dev.domain.com: Error reading configuration: net_connect_unix(/usr/local/var/run/dovecot/config) failed: Permission denied May 13 16:59:46 imap-postlogin: Error: script-login: Fatal: Internal error occurred. Refer to server log for more information. May 13 16:59:46 log: Error: service(imap-postlogin): child 22134 returned error 89 (Fatal failure) May 13 16:59:46 imap-login: Info: Login: user=<edward at dev.domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22133, secured May 13 16:59:46 imap(edward at dev.domain.com): Info: Post-login script denied access to user edward at dev.domain.com The permission on /usr/local/var/run/dovecot/config: srw------- 1 root staff 0 May 13 16:59 config Anyone know the correct permissions? This worked fine in previous versions Thanks!
Robert Schetterer
2011-May-13 18:52 UTC
[Dovecot] Upgraded 2.012 to 2.0.13 postlogin error
Am 13.05.2011 19:12, schrieb Edward Carraro:> I've just upgraded to Dovecot 2.0.13 from 2.0.12 > > When I authenticate via telnet it closes the connection and the logs show: > > May 13 16:59:16 master: Info: Dovecot v2.0.13 starting up (core dumps > disabled) > May 13 16:59:40 auth: Debug: Loading modules from directory: > /usr/local/lib/dovecot/auth > May 13 16:59:40 auth: Debug: passwd-file > /usr/local/etc/dovecot/master-users: Read 1 users > May 13 16:59:40 auth: Debug: auth client connected (pid=22124) > May 13 16:59:46 auth: Debug: client in: AUTH 1 PLAIN service=imap > secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=37146 > resp=<hidden> > May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): pass > search: base=dc=domain,dc=com scope=subtree filter=(&(|(uid> edward at dev.domain.com)(mailAlternateAddress=edward at dev.domain.com))(nimPimUserStatus=active)) > fields=uid,userPassword > May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): result: > userPassword(password)=<hidden> uid(user)=edward at dev.domain.com > May 13 16:59:46 auth: Debug: client out: OK 1 user> edward at dev.domain.com > May 13 16:59:46 auth: Debug: master in: REQUEST 885784577 22124 1 > 48936eabc3d31fe740c83dd3339261b7 > May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): user > search: base=dc=nitido,dc=com scope=subtree filter=(&(|(uid> edward at dev.domain.com)(mailAlternateAddress=edward at dev.domain.com))(nimPimUserStatus=active)) > fields=homeDirectory,quotaMailSoft > May 13 16:59:46 auth: Debug: ldap(edward at dev.domain.com,127.0.0.1): result: > homeDirectory(home)=/home/dev.domain.com/edward at dev.domain.comquotaMailSoft(quota_rule=*:storage=%$M)=2 > May 13 16:59:46 auth: Debug: master out: USER 885784577 > edward at dev.domain.com > home=/home/dev.domain.com/edward at dev.domain.comquota_rule=*:storage=2M > May 13 16:59:46 imap-postlogin: Error: script-login: Error: user > edward at dev.domain.com: Error reading configuration: > net_connect_unix(/usr/local/var/run/dovecot/config) failed: Permission > denied > May 13 16:59:46 imap-postlogin: Error: script-login: Fatal: Internal error > occurred. Refer to server log for more information. > May 13 16:59:46 log: Error: service(imap-postlogin): child 22134 returned > error 89 (Fatal failure) > May 13 16:59:46 imap-login: Info: Login: user=<edward at dev.domain.com>, > method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22133, secured > May 13 16:59:46 imap(edward at dev.domain.com): Info: Post-login script denied > access to user edward at dev.domain.com > > The permission on /usr/local/var/run/dovecot/config: > srw------- 1 root staff 0 May 13 16:59 config > > Anyone know the correct permissions? This worked fine in previous versions > > Thanks! >perhaps by redesign, read the list a few mails ago i.e start here http://www.mail-archive.com/dovecot at dovecot.org/msg38349.html -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Thanks! I took out "user" service imap-postlogin { # user = $default_internal_user ... } On Fri, May 13, 2011 at 2:52 PM, Robert Schetterer <robert at schetterer.org>wrote:> > perhaps by redesign, read the list a few mails ago > i.e start here > http://www.mail-archive.com/dovecot at dovecot.org/msg38349.html > -- > Best Regards > > MfG Robert Schetterer > > Germany/Munich/Bavaria >