concurrent IMAP connections (plus 2 easy questions)
Bee
beedee-gmane.mail.imap.dovecot at grmbl.net
Tue Apr 14 23:16:38 UTC 2015
Ron,
Ron Cleven <Ron <at> Cleven.com> writes:
> Now to my two "easy" questions.
>
> 1) TCP replication between our two CentOS boxes has been working great,
> no complaints. However, I realized I did not know how to check the
> status of replications, as one might want to do if one of the two boxes
> was taken offline for maintenance or repair. On the surface, it would
> appear that the command:
> doveadm replicator status '*'
> would likely show me what I want to know. However, when I tried it, I got:
> doveadm(): Fatal:
> net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: No such
> file or directory
> The documentation says that doveadm assumes the socket
> /var/run/dovecot/replicator-doveadm and the command format provides a
> "-a" override. In that directory, there is no "replicator-doveadm"
> socket, but I do see a "replicator" socket. So, should I be using the
> command:
> doveadm replicator status -a /var/run/dovecot/replicator '*'
> or is the non-existence of the replicator-doveadm socket indicative of
> something I might have done wrong with the config? I hate experimenting
> more than I have to with a production box. The 2.2.10 Dovecot I am
> running was installed via yum, so there are no potential compilation issues.
I'm sttill working out some synching issues but if you haven't found it yet,
this might solve your problem.
Add the following to 10-replicator.conf:
service replicator {
unix_listener replicator-doveadm {
mode = 0600
}
}
>From http://mcs.une.edu.au/doc/dovecot/wiki/Replication.txt
Cheers,
Bee
More information about the dovecot
mailing list