dovecot local indexes and multiple servers
Hi,
I've been testing mdbox with local indexes on our nfs based directors + multiple imap/lda/pop3 server setup. The performance is noticeably better than maildir with indexes on nfs, so I'd like to make this work.
About the possible direction to other servers the wiki says that it will create a new index 'on the fly'. That is true, but after the index is recreated, Thunderbird (imap) re-downloads all the messages and sees all those messages as unread again!
This is probably quite logical as the message status is only kept in the indexes, but this is not very customer friendly. Is there a way to avoid this problem?
I'd rather not manually sync those local indexes between our servers. In fact, I was planning on deleting (old) indexes when a user moved to another server or even if they haven't checked their mail for XX days. with up to 10Gb mailboxes the indexes themselves can get up to 20-40Mb for a mailbox. that amounts to quite a lot of storage for 200k+ users.
Thanks, Alex.
On 22 Feb 2016, at 14:47, alex alex.dovecot@kerkhove.net wrote:
Hi,
I've been testing mdbox with local indexes on our nfs based directors + multiple imap/lda/pop3 server setup. The performance is noticeably better than maildir with indexes on nfs, so I'd like to make this work.
About the possible direction to other servers the wiki says that it will create a new index 'on the fly'. That is true, but after the index is recreated, Thunderbird (imap) re-downloads all the messages and sees all those messages as unread again!
dbox format requires permanent indexes, so you must store them on NFS also. Only mbox and Maildir formats can recreate indexes on the fly without losing information. Is there still some documentation that talks about indexes being able to be recreated from scratch, without mentioning dbox? I tried quickly finding from wiki, but I only found the NFS page mentioning it and it specifically said mbox/Maildir. I added "(but not dbox!)" as clarification. Anywhere else?..
Hi Timo,
Thanks for your answer! Sorry for my ignorance. That was exactly the location I read it, but failed to notice that only mbox/maildir is mentioned there.
thanks, Alex.
Timo Sirainen wrote:
On 22 Feb 2016, at 14:47, alex alex.dovecot@kerkhove.net wrote:
Hi,
I've been testing mdbox with local indexes on our nfs based directors + multiple imap/lda/pop3 server setup. The performance is noticeably better than maildir with indexes on nfs, so I'd like to make this work.
About the possible direction to other servers the wiki says that it will create a new index 'on the fly'. That is true, but after the index is recreated, Thunderbird (imap) re-downloads all the messages and sees all those messages as unread again!
dbox format requires permanent indexes, so you must store them on NFS also. Only mbox and Maildir formats can recreate indexes on the fly without losing information. Is there still some documentation that talks about indexes being able to be recreated from scratch, without mentioning dbox? I tried quickly finding from wiki, but I only found the NFS page mentioning it and it specifically said mbox/Maildir. I added "(but not dbox!)" as clarification. Anywhere else?..
participants (2)
-
alex
-
Timo Sirainen