[Dovecot] v2.0.13 released

Frank Elsner frank at moltke28.B.Shuttle.DE
Wed May 11 22:34:26 EEST 2011


On Wed, 11 May 2011 22:17:28 +0300 Timo Sirainen wrote:
> On 11.5.2011, at 22.03, Frank Elsner wrote:
> 
> > This version gives problems with my post-login script to track last usage,
> > which works perfect with 2.0.12.
> 
> That would be because of this change:
> 
>         - script-login binary wasn't actually dropping privileges to the
>           user/group/chroot specified by its service settings.
> 
> > May 11 20:39:01 seymour dovecot: imap-postlogin: Error: script-login: Error: user frank: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied
> 
> Hmm. I suppose it drops the privileges a bit too early now.. Well, you can switch back to v2.0.12 behavior by removing the user=dovecot:
> 
> > service imap-postlogin {
> >  user = dovecot

Thanks, works.

> I'll fix it properly for v2.0.14 then. Another alternative would be to change config socket's permissions to allow dovecot user to read/write it.

How to do that? 

PS: I'd like to have the lastlogin file to be owned by user dovecot.
    Currently it is owned bx the user.


--Frank Elsner


More information about the dovecot mailing list