[Dovecot] Dovecot v1.0a3 on OpenBSD 3.7

Timo Sirainen tss at iki.fi
Mon Oct 17 17:09:49 EEST 2005


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:

1) chgrp mail /var/mail && chmod 0775 /var/mail

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

3) mail_extra_groups=wheel might work, but probably not a good idea.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051017/bc48f32e/attachment.pgp


More information about the dovecot mailing list