[Dovecot] Dovecot v1.0a3 on OpenBSD 3.7

Jeff Simmons jsimmons at goblin.punk.net
Mon Oct 17 19:27:18 EEST 2005


On Monday 17 October 2005 07:14, Brad wrote:
> 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.43c0f93e9fec
> > >b54a) 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:
> >
> >
> > 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.
>
> Ding ding ding, bingo. This is what you're supposed to do.

I set all the file lock entries in dovecot.conf to "flock" and everything 
works fine. "fcntl" does NOT work.

-- 
Jeff Simmons                                   jsimmons at goblin.punk.net
     Simmons Consulting - Network Engineering, Administration, Security
                   "It was on fire when I got here."


More information about the dovecot mailing list