On 31/08/2025 23:17, Zakaria via dovecot wrote:
Aha, I understood the points. I remember Dovecot team said they intend no longer maintain Director and plan to remove it in 2.4. it looks they went ahead with it. Well, then I hope you find a solution that fits in your stack but you might want to look at this as well. https://doc.dovecot.org/main/core/config/proxy/haproxy.html Zak.
Hi Zak
interesting that even in 2.4.1 "HAProxy is the recommended way to do software load balancing for Dovecot."
https://doc.dovecot.org/2.4.1/core/config/proxy/haproxy.html
In the configuration shown there I didn't identify anything that would enable the same user to always be sent to the same back end server, so in absence of HAProxy managing this, then the underlying Dovecot architecture would need to be able to manage simultaneous updates from multiple servers for the same user (for example if my mailbox is open from my PC and from my phone but those connections are being handled by different Dovecot backend servers). If I move a message to a folder using the PC I don't see how that same update would get to the phone, which is the kind of point the OP was making.
I am wondering whether this documentation on HA Proxy is still appropriate to 2.4.1 Dovecot CE.
John
On 31/08/2025 23:17, Zakaria via dovecot wrote:
Aha, I understood the points. I remember Dovecot team said they intend no
longer maintain Director and plan to remove it in 2.4. it looks they went
ahead with it. Well, then I hope you find a solution that fits in your
stack but you might want to look at this as well.
[1]https://doc.dovecot.org/main/core/config/proxy/haproxy.html
Zak.
Hi Zak
interesting that even in 2.4.1 "HAProxy is the recommended way to do software load balancing for Dovecot."
[2]https://doc.dovecot.org/2.4.1/core/config/proxy/haproxy.html
In the configuration shown there I didn't identify anything that would enable the same user to always be sent to the same back end server, so in absence of HAProxy managing this, then the underlying Dovecot architecture would need to be able to manage simultaneous updates from multiple servers for the same user (for example if my mailbox is open from my PC and from my phone but those connections are being handled by different Dovecot backend servers). If I move a message to a folder using the PC I don't see how that same update would get to the phone, which is the kind of point the OP was making.
I am wondering whether this documentation on HA Proxy is still appropriate to 2.4.1 Dovecot CE.
John
References
Visible links