![]() If the -A option is present, the command will be performed forĪll users. In order to override multiple settings, the -o optionĮnables verbosity, including progress counter. etc/dovecot/nf and from the userdb with the given Replicator process, which automatically runs dsync whenever messagesĮnables verbosity and debug messages. ![]() For continuous replication you can use the Dovecot Server processes to be running, except when using -u parameter to do aĭsync can sync either one or multiple users using the -u or -A Works the same way: it uses its own local configuration.ĭsync can be run completely standalone. Giving -c parameter to another configuration file, or using -o parameter 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 (viaĭoveconf(1) binary). It’s of course possible to haveĬonflicts during merging, these are resolved in a safe way. This is possible because dsync can access Dovecot’s Two-way syncing means that it’s safe to do any kind of modifications inīoth sides, and dsync will merge the changes without losing any changesĭone on either side. Shouldn’t be able to notice any differences between the two mailboxes. The syncing is done as perfectly as possible: an IMAP or a POP3 client The replicator process uses this internally to perform most of the Mailboxes aren’t corrupted this algorithm should work perfectly. Based on this state dsync can send only the changes that Run’s state saved somewhere and being passed to the next dsync Stateful synchronization (-s parameter) is the most efficient way Metadata may end up containing the same values even if the changes Usually this works fine, especially with one-way synchronization,īut if both sides do exactly the same number of changes, the This is done byĬhecking the mailboxes’ metadata (NEXTUID and HIGHESTMODSEQ). That have changed, and synchronize only those. Synchronized, but it’s unnecessarily slow for incrementalįast synchronization (default) first attempts to find mailboxes There are also three different synchronization algorithms:įull synchronization (-f parameter) scans through all the messages Time after a doveadm backup or doveadm sync command was Should therefore normally only be used within a short period of Mailbox once changes start to occur on either side one-way sync Thus, one-way sync begins to quickly diverge from the source Sure any client didn’t get confused about what UID 6 actually was. In the destination but they’re given new UIDs 7 and 8 just to be ![]() If both source and destination have UID 6, but the messages areĭifferent, the headers don’t match and both the messages are kept Removed (in destination) because UID 1.5 have identicalĭate+Message-ID headers. UID 6 is delivered to the source mailbox and UID 1 is expungedįrom the destination mailbox. Sync’d using doveadm backup to the destination. Only after the first mismatch willĮxample: Source mailbox has messages UID 1.5 source mailbox is As long as the source andĭestination side has matching UIDGUID mapping, those emails areĪssumed to be synced correctly. Message’s GUID (Global UID), which is used to identify anyĬonflicting UIDs in messages. The one-way algorithm is the same as two-way dsync algorithmĮxcept the source account is not modified. To transfer any last new mails from the old mailbox. Its main purpose is that during mailbox migration you can runĭoveadm backup multiple times, then switch mails to beĭelivered to the new mailbox and run doveadm sync -1 once more Thisĭoesn’t currently work perfectly, so its use should be limited. Merges the changes in destination without deleting anything. Looking identical after the synchronization is finished.ĭoveadm sync -1 performs one-way synchronization, but it It merges allĬhanges without losing anything. If there areĪny changes in the destination they will be deleted, so theĭestination will look exactly like the source.ĭoveadm sync performs two-way synchronization. Protocol, which allows using dsync for mailbox migration purposes.ĭoveadm backup performs one-way synchronization. Remote mailboxes can be accessed also via IMAP Within the same server or between different servers (via ssh(1) or Mailboxes from/to different mailbox formats. Synchronization of mailboxes, creating backups of mails, and convert It can be used for several different use cases: Two-way [ -e endĭoveadm backup ĭsync (short for doveadm sync) is Dovecot’s mailbox synchronizationįeature. Doveadm-sync - Dovecot’s two-way mailbox synchronization featureĭoveadm-backup - Dovecot’s one-way mailbox synchronization feature SYNOPSIS ¶ĭoveadm sync
0 Comments
Leave a Reply. |