Re: Dovecot Director: Preferred backend server

2021-08-31 Thread Aki Tuomi
>From dovecot director point of view it does not make any difference if your >imap clusters have only one server each. mail_hosts takes IP addresses, DNS >names whatever, and you can assign tag per host if you want. And yes, if you have only one server for a tag, then your clients are denied

Re: Dovecot Director: Preferred backend server

2021-08-31 Thread Steven Varco
Hi Aki Thanks for pointing out the tag feature which sound really interesting in the first place. However, if I understand the documentation correctly: > With tags you can use a single director ring to serve multiple backend > clusters. Each backend cluster is assigned a tag name, which can

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread Steven Varco
HAProxy is fundamentally different as it operates on connections only, which is not what you usually want on IMAP Servers. Instead you want to route all connections from the same USER to the same server and for this you must have a layer-7 proxy like dovecot director. The implication with

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread Aki Tuomi
> On 30/08/2021 19:09 Steven Varco wrote: > > > Hi All > > I have a dovecot cluster with directror and two IMAP Servers behind. > > Since they are in geographical different locations I would like to have users > to go to a specific IMAP backend server (if both are up) and only switch to

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread William Edwards
> Op 30 aug. 2021 om 18:11 heeft Steven Varco het > volgende geschreven: > > Hi All > > I have a dovecot cluster with directror and two IMAP Servers behind. > > Since they are in geographical different locations I would like to have users > to go to a specific IMAP backend server (if both

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread William Edwards
Haven’t looked at this use case, so I’m unsure if there’s existing functionality to achieve this. If not: you could set the default vhost count of the failover server to 0, and up it once some health check sets the primary server to down. Sent from mobile > Op 30 aug. 2021 om 18:11 heeft

Re: Dovecot Director: Preferred backend server

2021-08-30 Thread dovecot
I have a dovecot cluster with directror and two IMAP Servers behind. Since they are in geographical different locations I would like to have users to go to a specific IMAP backend server (if both are up) and only switch to the other if one goes down (failover). As to my current knowledge the

Dovecot Director: Preferred backend server

2021-08-30 Thread Steven Varco
Hi All I have a dovecot cluster with directror and two IMAP Servers behind. Since they are in geographical different locations I would like to have users to go to a specific IMAP backend server (if both are up) and only switch to the other if one goes down (failover). As to my current