[Dovecot] dsync - one or two ways?

Dave McGuire mcguire at neurotica.com
Fri Jul 17 22:11:40 EEST 2009


On Jul 17, 2009, at 2:47 PM, Timo Sirainen wrote:
> dsync in Dovecot v2.0 tree is a new utility for syncing a mailbox  
> in two
> locations. Some things it can be used for:
>
>  - Initially transfer a mailbox to another server via SSH
>  - A faster sync done to an existing mailbox, sending only changes
>  - A superfast sync based on modification sequences.
>  - Source and destination mailboxes can use different formats
> (convert-tool will be history)
>
> dsync can handle all kinds of conflicts in mailboxes, handle mailbox
> deletions, renames, etc. So it's safe to sync even if both source and
> destination mailboxes have had all kinds of changes.

   Wow, that will be very handy!  Thanks!!

> Now, the question is: Does anyone want dsync to only sync changes from
> source to destination, instead of doing a full two-way sync? I  
> think in
> typical cases where you'd think you would want only one-way sync are
> also the cases where there's no changes coming the other way in any
> case.

   I think a two-way sync would be useful functionality to have,  
perhaps tied to a command line option, at least for the sake of  
completeness.  It would also open up possibilities for having an  
"offline" IMAP server, which might be useful for mobile workgroups  
and such that may not always have full connectivity.

             -Dave

-- 
Dave McGuire
Port Charlotte, FL



More information about the dovecot mailing list