On Mon, 2009-12-14 at 16:49 +0100, Harald Strack wrote:
imap: dovecot-1.1.10 (pam-unix, no direct LDAP access) pop: dovecot-1.0.14 on another server (pam-unix, no direct LDAP access) mta: postfix (pam-unix, no direct LDAP access) procmail (pam-unix, no direct LDAP access)
Filesystems: Inboxes and IMAP-home are on two different SAM-FS volumes.
Problem description: Inboxes of users are disappearing / are truncated.
So SAM-FS is some shared filesystem and you have multiple servers accessing mails from there?
We have no locking problems, we use fcntl(), dotlock for all mail components. We tested this with a small perl script and locking works fine (no delivery to a locked mailbox and so on...)
But did you check that all programs writing to mailboxes use the same locking? Most importantly procmail vs. dovecot might not use the exact same locking by default. http://wiki.dovecot.org/MboxLocking