[Dovecot] dsync - one or two ways?

joakim at verona.se joakim at verona.se
Sat Jul 18 02:43:28 EEST 2009


Timo Sirainen <tss at iki.fi> writes:

> On Fri, 2009-07-17 at 22:31 +0200, joakim at verona.se wrote:
>> This sounds really awesome! How testable is it?
>
> By "testable" do you mean "is it working now"? It should work except for
> mailbox deletions and renames. But I haven't really tested it, just ran
> unit tests. :) And it pretty much requires using Dovecot v2.0 for IMAP
> so that it can handle expunges properly. And I wouldn't really recommend
> doing that yet..

Would this setup work then?
- dovecot 1.2 on master and slave machines
- dsync on the slave machine, 2 way sync
- propagate expunges by some other means, like removing maildir mail
files with unison or similar?

How would I handle mailbox addition, renaming and deletions?

>
>> My setup would be:
>> - one server dovecot that is online all the time, filtering email to several
>> mailboxes with sieve scripts
>>   - the server dovecot would receive changes through a webmail instance
>> - a dovecot running on my laptop that I would like to be in sync with
>> the server dovecot. I read mail there with Gnus.
>
> Yeah, should work with that setup.
>
>> Theres only a one user(me) that would have this setup, but there are
>> a handful of other users as well. I have a couple of hundred mailboxes
>> to sync. Can all mailboxes be synced automatically, or do I need to make
>> a list of them for dsync?
>
> User's all mailboxes are synced automatically.
-- 
Joakim Verona


More information about the dovecot mailing list