[Dovecot] 1.1.4 and trouble over NFS

Timo Sirainen tss at iki.fi
Tue Oct 7 22:38:53 EEST 2008


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(postmaster at minnie.tld): /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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081007/2e1d8c06/attachment.bin 


More information about the dovecot mailing list