OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
File locking and maildir

From: Andy Cravens (acravensuen.org)
Date: Wed Nov 02 2005 - 10:17:13 CST


I just wanted to clarify an issue related to file locking when using the
maildir format. From what I understand, after reading several links on
the postfix web site, the maildir storage format does not suffer from
file locking problems like the mbox format does. It seems that some of
postfix's file locking parameters do not apply when using maildir
format. I'd like to know which file locking parameters I need to have
set properly when using maildir storage format.

Right now I'm using the defaults:

deliver_lock_attempts = 20
deliver_lock_delay = 1s
mailbox_delivery_lock = fcntl, dotlock
stale_lock_time = 500s
virtual_mailbox_lock = fcntl