Dovecot on OpenBSD file_lock_dotlock() errors

If after installing Dovecot on OpenBSD you get the following error when you try to access your mailbox:
open(/var/mail/.temp.host.1234.abcdefg) failed: Permission denied
file_lock_dotlock() failed with mbox file /var/mail/user: Permission denied

then uncomment & change the mbox_write_locks entry in /etc/dovecot from mbox_write_locks = dotlock fcntl to mbox_write_locks = fcntl

Everything should spring to life afterwards! 🙂

5 Replies to “Dovecot on OpenBSD file_lock_dotlock() errors”

  1. Hey. Thanks for this posting. I’ve literally spent 5 hours cursing trying to set up a VPS – and this was the line I needed to uncomment.

    I can go to sleep happy now.

    Thanks 🙂

  2. Thanks for this, nice to see that someone has got the answers, also works for Mandriva.

Comments are closed.