[Dovecot] /var/mail/<user> and mail group privileges

Timo Sirainen tss at iki.fi
Thu Feb 10 02:54:39 EET 2011


On Mon, 2011-01-10 at 14:08 +0100, Michal Hlavinka wrote:
> On Tuesday, January 04, 2011 00:47:16 Timo Sirainen wrote:
> > On 3.1.2011, at 19.15, Michal Hlavinka wrote:
> > > Shouldn't mkdir and chown make together a transaction? When it fails just
> > > for first time, it confuses some admins (this is the reason why I'm
> > > getting complains (bug reports) just because missing/wrong
> > > configuration). I think it a) should work even for first connection
> > > (ignore chown failure) or b)it should not work for following connection,
> > > so the behavior should be more consistent.
> > 
> I think a) is better for lazy admins, but b) is more correct, because other 
> way it's (a little bit) harder to find out this error - having wrong 
> permissions in situations when group is really required.

I implemented a) a while ago.




More information about the dovecot mailing list