OSEC

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

From: Wietse Venema (wietseporcupine.org)
Date: Wed Nov 02 2005 - 10:24:01 CST


Andy Cravens:
> I just wanted to clarify an issue related to file locking when using the
> maildir format.

There are no application-controlled locks. The kernel takes
care of locking while it manipulates file system structures.

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

None are applicable.

        Wietse

> 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
>
>
>