[Dovecot] dsync should sync sieve-dirs to!

Timo Sirainen tss at iki.fi
Tue Nov 1 08:24:33 EET 2011


On 29.10.2011, at 2.41, Peer Heinlein wrote:

> Having dsync to make backups from existing mail-spaces, it would be nice 
> to make dsync syncing the sieve-dirs too. -Otherweise backups aren't 
> complete...

dsync was originally meant to be a way to do two-way syncing of mailboxes without losing any changes. That's not really possible to do with Sieve scripts. I guess the best that could be done is to copy the one with the latest timestamp. But if you have multiple Sieve scripts even that doesn't work well, since dsync can't know if a script was added on one side or deleted from another side. Although if scripts were only managed via ManageSieve, the last problem could be solved with some log file.

For "dsync backup" I guess it could be useful to have a setting with a list of files/dirs that dsync would always upload to remote..




More information about the dovecot mailing list