INFO: Dovecot + file_lock_dotlock()
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Tue Sep 14 04:09:08 UTC 2004
On Fri, 2004-09-10 at 21:37, Alexander Dalloz wrote:
> Am Fr, den 10.09.2004 schrieb Ow Mun Heng um 5:32:
> > #rpm -qa dovecot
> > dovecot-0.99.10.9-2.1.fc2.dag
> That is no Fedora Core package. This is a Dag Wieers package.
You are right
> > 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
> Does not match the FC2 update package version. The current FC2 package
> is dovecot-0.99.10.5-0.FC2.
> > So.. in effect, Dovecot doesn't work out-of-the-box as I've read.
For this package yes.
> Does that happen to occur with the Fedora Core package too? The Fedora
> Core package has a patch to modify the default locking setting:
> @@ -288,7 +288,7 @@
> # with is important to avoid deadlocks if other MTAs/MUAs are using
> both fcntl
> # and flock. Some operating systems don't allow using both of them
> # simultaneously, eg. BSDs. If dotlock is used, it's always created
> -#mbox_locks = dotlock fcntl
> +mbox_locks = fcntl
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
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
Neuromancer 12:01:12 up 3:56, 9 users, load average: 0.55, 0.57, 0.65
More information about the users