On Oct 7, 2008, at 9:57 PM, Igor Colombi wrote:

Hello, I have some trouble with the current setup (it's a testing environment):

2 server with Dovecot 1.1.4 from source (OS Debian testing 2.6.26) (name: "exim" and "exim2")
1 NFS server (OS Debian testing 2.6.26)

I use NFS v.4, indexes shared over NFS. The relavant part of Dovecot configuration:
..
Oct 7 20:00:20 exim dovecot: IMAP([EMAIL PROTECTED]): /mnt/nfs1/ minnie.tld/postmaster/Maildir/dovecot-uidlist: file size changed unexpectedly after write
..
I know that with Dovecot < 1.1 the use on multiple computer when users are connected randomly was discouraged, but with version 1.1.x this setup is safe.

It's safe as long as Dovecot can reliably flush all NFS caches. But this clearly isn't happening.

I can reproduce this kind of problem easly: 2 clients on the same mailbox connected to two different imap server and a simple bash script that send 2 email every 1 second to the mailbox.

Or probably also running imaptest (http://imapwiki.org/ImapTest) on both machines? Could you run http://www.dovecot.org/tools/nfstest.c and tell me what it outputs?

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to