Will doveadm sync in a cron job give me something resembling HA? Don't think so. Replicator does. So, read my question not as ’syncing’ is deprecated, but HA-syncing (via replicator) is.
As far as I understand it, replicator sends the message immediately to the other side as it arrives. A, say, once every 15 minutes cron job running a new doveadm sync doesn’t match that.
So yes, syncing is not deprecated (I wrote that incorrectly). Doesn’t change my situation as replicator is, and I want a true HA solution.
G
On 31 Aug 2025, at 13:59, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
On 31/08/2025 14:39 EEST Gerben Wierda via dovecot <dovecot@dovecot.org <mailto:dovecot@dovecot.org>> wrote:
I currently run a HA postfix/dovecot setup that is failover behind a HAproxy. The two legs are a dovecot 2 on macOS (MacPorts) and a dovecot 2 on Ubuntu (PVE+Ubuntu+Docker), making the system somewhat antifragile. HA is realised via dovecot’s own syncing (which is not longer available in dovecot 3). This works OK. (In addition: there is rspamd as an important part of the setup, e.g. for DMARC). There are multiple virtual domains.
Given that I have lost APNS (Apple Push Notification) as Apple has retired support for former Mac OS X Server users, there is not longer a reason to keep the macOS version running (apart from that antifragility thing, but that was more an added bonus). I am looking at moving to a different setup where the entire mail setup may move to a full Linux foundation.
I am starting to look at future options (there is still time to actually create the setup somewhere the coming year or so.
If I want to be future-dovecot proof, I need to move to HA for storage as dovecot syncing is deprecated. I wonder what my best way forward its, based on a 2 physical machine, PVE+Ubuntu+Docker setup. Build a HA NFSv4 cluster? Use Ceph? ZFS?
Dovecot syncing is not deprecated, replicator is. You can run a PRI/BU setup with doveadm sync in cron.
Aki
Will doveadm sync in a cron job give me something resembling HA? Don't think so. Replicator does. So, read my question not as 'syncing' is deprecated, but HA-syncing (via replicator) is. As far as I understand it, replicator sends the message immediately to the other side as it arrives. A, say, once every 15 minutes cron job running a new doveadm sync doesn't match that. So yes, syncing is not deprecated (I wrote that incorrectly). Doesn't change my situation as replicator is, and I want a true HA solution. G
On 31 Aug 2025, at 13:59, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
On 31/08/2025 14:39 EEST Gerben Wierda via dovecot
<[1]dovecot@dovecot.org> wrote:
I currently run a HA postfix/dovecot setup that is failover behind a
HAproxy. The two legs are a dovecot 2 on macOS (MacPorts) and a
dovecot 2 on Ubuntu (PVE+Ubuntu+Docker), making the system somewhat
antifragile. HA is realised via dovecot's own syncing (which is not
longer available in dovecot 3). This works OK. (In addition: there is
rspamd as an important part of the setup, e.g. for DMARC). There are
multiple virtual domains.
Given that I have lost APNS (Apple Push Notification) as Apple has
retired support for former Mac OS X Server users, there is not longer
a reason to keep the macOS version running (apart from that
antifragility thing, but that was more an added bonus). I am looking
at moving to a different setup where the entire mail setup may move to
a full Linux foundation.
I am starting to look at future options (there is still time to
actually create the setup somewhere the coming year or so.
If I want to be future-dovecot proof, I need to move to HA for storage
as dovecot syncing is deprecated. I wonder what my best way forward
its, based on a 2 physical machine, PVE+Ubuntu+Docker setup. Build a
HA NFSv4 cluster? Use Ceph? ZFS?
Dovecot syncing is not deprecated, replicator is. You can run a PRI/BU
setup with doveadm sync in cron.
Aki
References
Visible links
- mailto:dovecot@dovecot.org