dovecot sync not pushing automatically ?
Laura Smith
n5d9xq3ti233xiyif2vp at protonmail.ch
Sun May 17 16:12:59 EEST 2020
Hi,
I'm aware its an async process, but despite sending test messages and then waiting a few minutes, the stats are still unchanged :
$ sudo doveadm replicator status
Queued 'sync' requests 0
Queued 'high' requests 0
Queued 'low' requests 0
Queued 'failed' requests 0
Queued 'full resync' requests 0
Waiting 'failed' requests 0
Total number of known users 18
However if I manually run it using :
sudo doveadm -D sync -u test at example.com -1 -d -N -l 30 -U
It syncs fine and the mails are visible on the standby server.
The master server is setup as per the docs :
replication_dsync_parameters = -1 -d -N -l 30 -U
plugin {
mail_replica = tcps:foobar.example.com:11867
}
service replicator {
process_min_avail = 1
}
service aggregator {
fifo_listener replication-notify-fifo {
user = foobar
}
unix_listener replication-notify {
user = foobar
}
}
service replicator {
unix_listener replicator-doveadm {
mode = 0600
user = foobar
}
}
replication_max_conns = 10
More information about the dovecot
mailing list