INFO: Dovecot + file_lock_dotlock()

Ow Mun Heng Ow.Mun.Heng at wdc.com
Wed Sep 15 03:00:17 UTC 2004


On Wed, 2004-09-15 at 01:14, Alexander Dalloz wrote:
> Am Di, den 14.09.2004 schrieb Ow Mun Heng um 6:09:
> 
> > > > Error Description:
> > > > Error: open(/var/mail/user.lock) failed: Permission denied
> > > > Error: file_lock_dotlock() failed with mbox file /var/mail/user: Permission denied
> > > > 
> > > > Solution:
> > > > http://wiki.dovecot.org/moin.cgi/VarMailDotLock
> > > > 
> > > > Since v0.99.10.9 it's possible to fix this by adding to config file: 
> > > > mail_extra_groups = mail
> 
> > It does not happen with the FC2 official package. Even putting dotlock
> > into it, it's still OK.
> > 
> > I guess this is a new _feature_ in the new release
> 
> Yes, that is obvious. But that was not the point. 
So.. The point is that dovecot (official package from fedora) works out
of the box stands true.

> Though it will affect
> future builds for Fedora Core, as the dovecot coder seems to have
> changed something with locking which is not compatible with the way
> Fedora and Redhat treats /var/mail/$user permissions. If it is under
> each circumstance that easy to "fix" with the new configuration setting,
> then it is no big problem. The dovecot maintainer will only have to be
> aware of this implication :)
I guess he is, that was why it was in it's FAQ/wiki

> 
> > Ow Mun Heng
> 
> Alexander

-- 
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive 
Neuromancer 10:59:18 up 1:43, 8 users, load average: 1.02, 0.87, 0.66 





More information about the fedora-list mailing list