[Dovecot] distributed mdbox

Timo Sirainen tss at iki.fi
Wed Mar 21 18:05:52 EET 2012


On 21.3.2012, at 17.56, James Devine wrote:

> Anyone know how to setup dovecot with mdbox so that it can be used through
> shared storage from multiple hosts?  I've setup a gluster volume and am
> sharing it between 2 test clients.  I'm using postfix/dovecot LDA for
> delivery and I'm using postal to send mail between 40 users.  In doing
> this, I'm seeing these errors in the logs

Dovecot assumes that the filesystem behaves the same way as regular local filesystems.

> Mar 21 09:36:29 test-gluster-client2 dovecot: lda(testuser34): Error: Fixed
> index file /mnt/testuser34/mdbox/storage/dovecot.map.index: messages_count
> 272 -> 271
> Mar 21 09:36:30 test-gluster-client2 dovecot: lda(testuser28): Error: Log
> synchronization error at seq=4,offset=3768 for
> /mnt/testuser28/mdbox/storage/dovecot.map.index: Append with UID 516, but
> next_uid = 517

Looks like gluster doesn't fit that assumption. So, the solution is the same as with NFS: http://wiki2.dovecot.org/Director




More information about the dovecot mailing list