[Dovecot] Locking /var/mail/user issue with postfix and dovecot

Stan Hoeppner stan at hardwarefreak.com
Thu Oct 25 06:57:47 EEST 2012


On 10/24/2012 3:04 PM, Robert JR wrote:

> I have a question regarding mailbox locking and hope any one can help me
> to better understanding the locking of mbox
> 
> My Postfix lock option is fcntl dotlock
> mailbox_delivery_lock = fcntl, dotlock
> virtual_mailbox_lock = fcntl, dotlock
> 
> My Dovecot lock option is fcntl only
> mbox_write_locks = fcntl
> mbox_read_locks = fcntl
<snip>


Postfix is delivering the mail to dovecot.  This is done via the deliver
program or lmtp which are pipes, not files.  Thus, why is Postfix
attempting to write files in the user's mail directory?

You write new mail to the mailbox file with either Dovecot or Postfix,
not both.  Fix that problem and the locking problem disappears.

-- 
Stan




More information about the dovecot mailing list