---
name: "doveadm-replicator"
section: "1"
platform: "linux"
package: "dovecot23"
version: "2.3.21.1-5"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/doveadm-replicator"
---

# doveadm-replicator(1)

Manage users' mail replication

## NAME

doveadm-replicator - Manage users' mail replication

## SYNOPSIS

**doveadm** \[**-Dv**\] \[**-f** *formatter*\] **replicator** *command* \[*OPTIONS*\] \[*ARGUMENTS*\]

## DESCRIPTION

The doveadm replicator *COMMANDS* can be used to manage the automated replication of users' mail.

## OPTIONS

Global [**doveadm**(1)](/doveadm/1.md) *options*:

- **-D**

  Enables verbosity and debug messages.

- **-f** *formatter*

  Specifies the *formatter* for formatting the output. Supported formatters are:

  - **flow**

    prints each line with *key***=***value* pairs.

  - **pager**

    prints each *key*: *value* pair on its own line and separates records with form feed character (**^L**).

  - **tab**

    prints a table header followed by tab separated value lines.

  - **table**

    prints a table header followed by adjusted value lines.

- **-o** *setting***=***value*

  Overrides the configuration *setting* from */etc/dovecot/dovecot.conf* and from the userdb with the given *value*. In order to override multiple settings, the **-o** option may be specified multiple times.

- **-v**

  Enables verbosity, including progress counter.

This command uses by default the output formatter **flow** (without the *key*= prefix).

Command specific *options*:

- **-a** *replicator\_socket\_path*

  This option is used to specify an absolute path to an alternative UNIX domain socket.

  By default [**doveadm**(1)](/doveadm/1.md) will use the socket */run/dovecot/replicator-doveadm*. The socket may be located in another directory, when the default *base\_dir* setting was overridden in */etc/dovecot/dovecot.conf*.

## ARGUMENTS

- *user\_mask*

  Specifies for which users the command should be executed. In most cases you would like to use patterns which contains wildcards, e.g. \\\*@example.net for all users of the example.net domain, or simply \\\* for all users.

  When the SQL userdb module is used make sure that the *iterate\_query* setting in */etc/dovecot/dovecot-sql.conf.ext* matches your database layout. When using the LDAP userdb module, make sure that the *iterate\_attrs* and *iterate\_filter* settings in */etc/dovecot/dovecot-ldap.conf.ext* match your LDAP schema. Otherwise [**doveadm**(1)](/doveadm/1.md) will be unable to iterate over all users.

## COMMANDS

### replicator add

**doveadm replicator add** \[**-a** *replicator\_socket\_path*\] *user\_mask*

Add the specified user(s) to the replicator. If the *user\_mask* contains "?" or "\*" wildcards, the list of usernames is looked up from the *userdb*.

### replicator dsync-status

**doveadm replicator dsync-status** \[**-a** *replicator\_socket\_path*\]

Show the status for the currently running dsync processes.

### replicator remove

**doveadm replicator remove** \[**-a** *replicator\_socket\_path*\] *username*

Remove the specified user from replicator.

### replicator replicate

**doveadm replicator replicate** \[**-a** *replicator\_socket\_path*\] \[**-f**\] \[**-p** *priority*\] *user\_mask*

Start replication for the specified users now. If the -f parameter is given, full replication is done for the user. You can also specify the priority, which can be either **high  or  low.** If the user mask contains "?" or "\*" wildcards, the list of usernames is looked up from the users that currently exist in replicator (not from the *userdb*).

### replicator status

**doveadm replicator status** \[**-a** *replicator\_socket\_path*\] *user\_mask*

Show the replication status for users.

## REPORTING BUGS

Report bugs, including *doveconf -n* output, to the Dovecot Mailing List \<dovecot@dovecot.org\>. Information about reporting bugs is available at: http://dovecot.org/bugreport.html

## SEE ALSO

[**doveadm**(1)](/doveadm/1.md), [**doveadm-sync**(1)](/doveadm-sync/1.md),

Additional resources:

- Replication with dsync

  http://wiki2.dovecot.org/Replication
