
etc/dovecot/nf and from the userdb with the given

o setting = value Overrides the configuration setting from Global doveadm(1) options: -D Enables verbosity and debug messages. Process, which automatically runs dsync whenever messages have changed. For continuous replication you can use the Dovecot replicator It doesn't require anyĭovecot server processes to be running, except when using -u parameter to doĭsync can sync either one or multiple users using the -u or -A The same way: it uses its own local configuration.ĭsync can be run completely standalone. When executing a remote dsync program it works Giving -c parameter to another configuration file, or using -o parameter to The entire configuration can be changed by See theĭsync design document for more information.ĭsync uses the same configuration files as the rest of Dovecot Have conflicts during merging, these are resolved in a safe way. This is possible because dsync can accessĭovecot's index logs that keep track of changes. Modifications in both sides, and dsync will merge the changes without losingĪny changes done on either side. Two-way syncing means that it's safe to do any kind of The syncing is done as perfectly as possible: an IMAP or a POP3Ĭlient shouldn't be able to notice any differences between the two Internally to perform most of the synchronization. As long as the state or the mailboxes aren't corrupted thisĪlgorithm should work perfectly. State dsync can send only the changes that happened after the previousĭsync run. Saved somewhere and being passed to the next dsync run. It relies on having the earlier dsync run's state Stateful synchronization (-s parameter) is the most efficient way to.Same number of changes, the metadata may end up containing the same values Usually this works fine,Įspecially with one-way synchronization, but if both sides do exactly the Mailboxes' metadata (NEXTUID and HIGHESTMODSEQ). Fast synchronization (default) first attempts to find mailboxes that haveĬhanged, and synchronize only those.It's unnecessarily slow for incremental synchronization. This guarantees that everything will be synchronized, but
#Dovecot dsync examples full

Remote mailboxesĬan be accessed also via IMAP protocol, which allows using dsync for mailbox All of these can be used within the same server or betweenĭifferent servers (via ssh(1) or tcp connections). It can be usedįor several different use cases: Two-way synchronization of mailboxes,Ĭreating backups of mails, and convert mailboxes from/to different mailboxįormats. d| destination DESCRIPTIONĭsync is Dovecot's mailbox synchronization utility. Doveadm-sync - Dovecot's two-way mailbox synchronization utilityĭoveadm-backup - Dovecot's one-way mailbox synchronization utility SYNOPSISĭoveadm sync
