On Mon, Oct 17, 2005 at 05:09:49PM +0300, Timo Sirainen wrote:
On Sun, 2005-10-16 at 17:31 -0700, Jeff Simmons wrote:
I've been trying to get Dovecot 1.0a3 running on OpenBSD 3.7, with little luck. I'm getting the following:
Oct 16 17:00:50 mailtest dovecot: pop3(testuser):open(/var/mail/.temp.mail.mailtest.com.7078.43c0f93e9fecb54a) failed: Permission denied .. I've read in the archives that this can be fixed by setting mail_extra_groups = mail in dovecot.conf, but OpenBSD has /var/mail owned by root:wheel mod 755, and /var/mail files owned by fileowner:users mod 600, and no mail group.
Anyone know how I can fix this?
Well, in that case I don't know how OpenBSD people thought it would work. You have a few choices:
- Disable dotlocking entirely and use just flock or fcntl locking (mbox_*_lock settings). Just make sure everything else writing to mbox files are using the same locking.
Ding ding ding, bingo. This is what you're supposed to do.