INFO: Dovecot + file_lock_dotlock()

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Sep 10 13:37:01 UTC 2004


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.

> 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.

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
first.
-#mbox_locks = dotlock fcntl
+mbox_locks = fcntl

If your experience is the same with the Fedora Core package I feel you
should submit a bugzilla entry if none with that problem is already
there.

> Ow Mun Heng

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 15:29:59 up 11 days, 12:46, load average: 0.76, 0.71, 0.88 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040910/4f47e8a7/attachment-0001.sig>


More information about the fedora-list mailing list