DOVEADM-REPLICATOR(1)
π DOVEADM-REPLICATOR π
okay bestie, so this is the doveadm-replicator page from the Dovecot manual β like, the official one, manual section 1 π
β¨ NAME β¨
doveadm-replicator β manage users' mail replication π
πΈ SYNOPSIS πΈ
doveadm [-Dv] [-f formatter] replicator command [OPTIONS] [ARGUMENTS]
π¦ DESCRIPTION π¦
so the doveadm replicator COMMANDS are literally your whole toolkit for managing the automated replication of users' mail. that's it, that's the vibe. automated. mail. replication. β¨
π OPTIONS π
the global doveadm(1) options, bestie
-Dβ turns on verbosity AND debug messages. it's giving "i want to see everything" π-f formatterβ picks the formatter for the output. the supported formatters are:flowβ prints each line withkey=valuepairs.pagerβ prints eachkey: valuepair on its own line, and separates records with a form feed character (^L).tabβ prints a table header, then tab separated value lines.tableβ prints a table header, then adjusted value lines.
-o setting=valueβ overrides a configuration setting from/etc/dovecot/dovecot.confand from the userdb with the value you give it. and if you wanna override multiple settings? no problem, just specify the-ooption multiple times π«-vβ turns on verbosity, including the progress counter. we love a progress bar π«Ά
oh and btw, this command uses the output formatterflowby default β without thekey=prefix.
the command-specific option, gorgeous
-a replicator_socket_pathβ this one is for specifying an absolute path to an alternative UNIX domain socket.
by default doveadm(1) will use the socket /run/dovecot/replicator-doveadm. but the socket may be located in another directory if the default base_dir setting was overridden in /etc/dovecot/dovecot.conf π
π ARGUMENTS π
user_maskβ specifies which users the command should be executed for. in most cases you'd wanna use patterns containing wildcards, like\*@example.netfor all the users of theexample.netdomain, or just simply\*for, like, every single user π
when the SQL userdb module is used, make sure the iterate_query setting in /etc/dovecot/dovecot-sql.conf.ext matches your database layout. and when you're using the LDAP userdb module, make sure the iterate_attrs and iterate_filter settings in /etc/dovecot/dovecot-ldap.conf.ext match your LDAP schema. otherwise doveadm(1) will be unable to iterate over all users π (no cap, that's a real problem)
π COMMANDS π
replicator add
doveadm replicator add [-a replicator_socket_path] user_mask
adds the specified user(s) to the replicator. if the user_mask contains "?" or "*" wildcards, the list of usernames is looked up from the userdb. periodt π
replicator dsync-status
doveadm replicator dsync-status [-a replicator_socket_path]
shows the status for the currently running dsync processes. it's giving live updates π‘
replicator remove
doveadm replicator remove [-a replicator_socket_path] username
removes the specified username from the replicator. bye bestie π
replicator replicate
doveadm replicator replicate [-a replicator_socket_path] [-f] [-p priority] user_mask
starts replication for the specified users right now, like immediately, no waiting β¨ if the -f parameter is given, a full replication is done for the user. you can also specify the priority, which can be either high or low. and if the user_mask contains "?" or "*" wildcards, the list of usernames is looked up from the users that currently exist in the replicator β not from the userdb. important distinction, iykyk π₯
replicator status
doveadm replicator status [-a replicator_socket_path] user_mask
shows the replication status for users. the vibe check of replication π
π REPORTING BUGS π
found a bug? report it, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. info about reporting bugs lives at: http://dovecot.org/bugreport.html β don't be shy, they wanna hear it π
π SEE ALSO π
additional resources:
- Replication with dsync β
http://wiki2.dovecot.org/Replication
and that's the whole page bestie, you ate that π
so fr fr, this was Dovecot v2.3, dated 2014-10-05, and it's the DOVEADM-REPLICATOR(1) page π go forth and replicate, main character π§β¨
π¦ where this page comes from
- arch rolling: dovecot23 2.3.21.1-5 Β· MIT AND LGPL-2.1-only
- centos-stream 10: dovecot 1:2.3.21-22.el10 Β· MIT AND LGPL-2.1-only
- centos-stream 9: dovecot 1:2.3.16-21.el9 Β· MIT and LGPLv2
- centos-stream 9: dovecot 1:2.3.16-21.el9 Β· MIT and LGPLv2
- debian bookworm: dovecot-core 1:2.3.19.1+dfsg1-2.1+deb12u6 Β· LGPL-2.1-only
- debian bookworm: dovecot-core 1:2.3.19.1+dfsg1-2.1+deb12u7 Β· LGPL-2.1-only
- ubuntu jammy: dovecot-core 1:2.3.16+dfsg1-3ubuntu2 Β· LGPL-2.1-only
- ubuntu jammy: dovecot-core 1:2.3.16+dfsg1-3ubuntu2.9 Β· LGPL-2.1-only
- ubuntu noble: dovecot-core 1:2.3.21+dfsg1-2ubuntu5 Β· LGPL-2.1-only
- ubuntu noble: dovecot-core 1:2.3.21+dfsg1-2ubuntu6.5 Β· LGPL-2.1-only
- Copyright (c) 2014-2018 Dovecot authors, see the included COPYING file
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms