Re: [Dovecot] Dovecot truncating Inboxes?

2009-12-15 Thread Timo Sirainen
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



signature.asc
Description: This is a digitally signed message part


[Dovecot] Dovecot truncating Inboxes?

2009-12-14 Thread Harald Strack
Hi,

Environment:
1 Users (LDAP)
Solaris 10 / sparc
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. 

we are using dovecot-1.1.0 since two month as main IMAP server. It
replaced our long running but old version of UW-IMAP. Till the last week
we had no problems and it worked quite well and the whole mail system
worked in this configuration since several years. But since a week we
receive more and more complaints regarding truncated/deleted mailboxes.
First, we assumed user/client errors, but as such messages arrive more
frequently, we did a deep analysis of the issue. 

The only common component of our mail system (postfix (local), procmail,
pop, imap) that all concerned users have accessed, was dovecot-imap v.
1.1.10. 

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

Finally, all indications point to a bug in dovecot. Google and searches
in this mailing list did not come up with any valuable results.

Are there any known bugs / configuration problems concerned to the
described problem?

I greatly appreciate any help!

Thx in advance

Harald Strack










Re: [Dovecot] Dovecot truncating Inboxes?

2009-12-14 Thread Jakob Curdes

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)
we are using dovecot-1.1.0 since two month as main IMAP server. It
These are all very very old. These versions certainly have bugs, perhaps 
also one which you stumbled on.
I suggest you upgrade to 1.1.20 or, better, to 1.2.8 (some configuration 
changes may be needed).

If the problem remains afterwards, there might be people willing to help.

HTH,
Jakob Curdes