[Dovecot] Upgrade to 1.1 maildir & shared folders problems

sami at medusa.tutka.fi sami at medusa.tutka.fi
Mon Jul 21 10:46:59 EEST 2008



On Sun, 20 Jul 2008, Timo Sirainen wrote:

> On Mon, 2008-07-07 at 10:22 +0300, sami at medusa.tutka.fi wrote:
> >
> > On Mon, 30 Jun 2008 sami at medusa.tutka.fi wrote:

> It crashes because it can't find where the filesystem is mounted at. I
> don't know why that would happen, but I fixed the crash anyway:
> http://hg.dovecot.org/dovecot-1.1/rev/5659ce2398e4
>

Thank you, this fixed the problem and everything seems to be working
nicely ;)


>
> Oh, right, the real error is that it tries to change the file's group to
> one that the user doesn't belong to. So you probably have dovecot-shared
> file which has a wrong group.
>
> > I tested this more and it seems that the dovecot-acl-list file is created
> > with permission only to the current user:
> >
> >
> > -rw------- 1 1002 sami   55 2008-07-07 09:40 dovecot-acl-list
>
> This file should be created using the same permissions as the mailbox
> root directory, which I guess in your case would be /var/mail/jaetut.
> Anyway I wrote a patch to help find out this when mail_debug=yes:
> http://hg.dovecot.org/dovecot-1.1/rev/4e3e73ff1b92
>
> > So i manualy added rw permission to everyone and it seems to be working,
> > the uid on the file changes everytime someone logs on, but the permissions
> > seem to be sticking to it, any reason why dovecot would remove the file at
> > anypoint and re-create it with the "wrong" permissions?
>
> The file (as well as many other files created by Dovecot) is updated by
> recreating it.
>

Thanks for this too, later the gid will be same with all the users so i
guess this wont be a problem anymore.

//sami


More information about the dovecot mailing list