doveadm sync -u user@example.com remote:replica.example.com

Category: Mail Servers & Postfix

doveadm sync -u user@example.com remote:replica.example.com

Two-way sync a mailbox with a replica

Merges changes in both directions so the local mailbox and the remote replica end up identical, which suits active-active setups. Add -1 for a one-way merge that preserves extra messages on the destination. Needs doveadm remote access configured on both sides.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.