[pfx] Re: distributed email system

2024-06-15 Thread Wietse Venema via Postfix-users
Jeff Peng via Postfix-users: > On 2024-06-15 21:35, Wietse Venema via Postfix-users wrote: > > > > > This is a bit off topic for Postfix, but a comnmon approach is to > > shard a global database into regional ones and limit the impact of > > outages. Some database systems support sharding out of

[pfx] Re: distributed email system

2024-06-15 Thread Jeff Peng via Postfix-users
On 2024-06-15 21:35, Wietse Venema via Postfix-users wrote: This is a bit off topic for Postfix, but a comnmon approach is to shard a global database into regional ones and limit the impact of outages. Some database systems support sharding out of the box (for example, MongoDB, supported by

[pfx] Re: distributed email system

2024-06-15 Thread Wietse Venema via Postfix-users
Joachim Lindenberg via Postfix-users: > sql databases optimize for consistency instead of availability. > And even if you design your data model not to rely on joins, to > use unique ids per node, and to replicate both directions or > disallow writes on the slave, at least MariaDB failed on

[pfx] Re: distributed email system

2024-06-15 Thread Joachim Lindenberg via Postfix-users
: Samstag, 15. Juni 2024 07:20 An: postfix user Betreff: [pfx] Re: distributed email system On 2024-06-15 12:46, Jean-François Bachelet via Postfix-users wrote: > Hello folks :) > isn't it what sql databases replication is good for ? > Replication becomes bad when network

[pfx] Re: distributed email system

2024-06-14 Thread Jeff Peng via Postfix-users
On 2024-06-15 12:46, Jean-François Bachelet via Postfix-users wrote: Hello folks :) isn't it what sql databases replication is good for ? Replication becomes bad when network partition. ;) ___ Postfix-users mailing list --

[pfx] Re: distributed email system

2024-06-14 Thread Jean-François Bachelet via Postfix-users
Nachricht- Von: Wietse Venema via Postfix-users Gesendet: Freitag, 14. Juni 2024 16:31 An: Postfix users Betreff: [pfx] Re: distributed email system Jeff Peng via Postfix-users: Hello, Is there any guide to setup a distributed email system? there should be multiple MX, multiple IMAP/storage

[pfx] Re: distributed email system

2024-06-14 Thread Jeff Peng via Postfix-users
On 2024-06-15 06:32, Wietse Venema via Postfix-users wrote: There is a difference between IMAP/POP and SMTP. With IMAP/POP a front end proxy needs to connect each user to the right message store instance. With SMTP, different sessions can be handled by different servers. The servers can figure

[pfx] Re: distributed email system

2024-06-14 Thread Wietse Venema via Postfix-users
Jeff Peng via Postfix-users: > On 2024-06-14 22:31, Wietse Venema via Postfix-users wrote: > > Jeff Peng via Postfix-users: > >> Hello, > >> > >> Is there any guide to setup a distributed email system? there should > >> be > >> multiple MX, multiple IMAP/storage servers, and sasl server cluster

[pfx] Re: distributed email system

2024-06-14 Thread Jeff Peng via Postfix-users
On 2024-06-14 22:31, Wietse Venema via Postfix-users wrote: Jeff Peng via Postfix-users: Hello, Is there any guide to setup a distributed email system? there should be multiple MX, multiple IMAP/storage servers, and sasl server cluster etc. That could be a job interview question. The

[pfx] Re: distributed email system

2024-06-14 Thread Joachim Lindenberg via Postfix-users
And the really hard part is to ensure those databases remain consistent with network failures. Cheers, Joachim -Ursprüngliche Nachricht- Von: Wietse Venema via Postfix-users Gesendet: Freitag, 14. Juni 2024 16:31 An: Postfix users Betreff: [pfx] Re: distributed email system Jeff Peng

[pfx] Re: distributed email system

2024-06-14 Thread Christian Zoffoli via Postfix-users
Regarding the HA cluster setup for email services, both Cyrus IMAPd and Dovecot support master-slave replication. If you're setting up a cluster in HA, you'll need to store your emails in an object storage. Dovecot Pro includes this feature. Cyrus IMAPd has some support for object storage

[pfx] Re: distributed email system

2024-06-14 Thread Wietse Venema via Postfix-users
Jeff Peng via Postfix-users: > Hello, > > Is there any guide to setup a distributed email system? there should be > multiple MX, multiple IMAP/storage servers, and sasl server cluster etc. That could be a job interview question. The easier part is setting up a pool of dataless Postfix SMTP