Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-11 Thread Charles Marcus
On 2013-11-10 1:43 PM, Patrick Westenberg wrote: Timo Sirainen schrieb: The blog was telling the idea how things would work, not exactly whose responsibility it is to do every part of them. The Dovecot proxies will know which backend servers are down (but not without extra scripting). So a

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Benny Pedersen
Robert Schetterer skrev den 2013-11-10 19:49: So another ineffectual feature from Dovecot. Hey Patrick, its open software why dont hack yourself , everyone would like to see things getting better +1

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Timo Sirainen
On 10.11.2013, at 19.43, Patrick Westenberg wrote: > Timo Sirainen schrieb: > >> The blog was telling the idea how things would work, not exactly whose >> responsibility it is to do every part of them. The Dovecot proxies will know >> which backend servers are down (but not without extra scrip

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 10.11.2013 19:43, schrieb Patrick Westenberg: > Timo Sirainen schrieb: > >> The blog was telling the idea how things would work, not exactly >> whose responsibility it is to do every part of them. The Dovecot >> proxies will know which backend se

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Patrick Westenberg
Timo Sirainen schrieb: The blog was telling the idea how things would work, not exactly whose responsibility it is to do every part of them. The Dovecot proxies will know which backend servers are down (but not without extra scripting). So another ineffectual feature from Dovecot. You shoul

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Timo Sirainen
On 10.11.2013, at 19.24, Patrick Westenberg wrote: > Daniel Parthey schrieb: > >> You need to keep the password database up-to-date and ensure to not return >> an unhealthy backend IP in the "host" extra field, since the knowledge of >> the proxy (as mentioned in the blog) is simply read from

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Patrick Westenberg
Daniel Parthey schrieb: You need to keep the password database up-to-date and ensure to not return an unhealthy backend IP in the "host" extra field, since the knowledge of the proxy (as mentioned in the blog) is simply read from the passdb database. Database content needs to be maintained by

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Daniel Parthey
Hi Patrick, do you want to use the proxy *without* the director? Then you would need to remove all director_... entries from your proxy config. The proxy backend is controlled by passdb extra fields. Here is how to setup a proxy without the director: http://wiki2.dovecot.org/PasswordDatabase/E

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-10 Thread Patrick Westenberg
Daniel Parthey schrieb: Hi Patrick the director does not check backends for availability. If one backend goes up or down, you need to instruct the director to add/remove this backend from its pool. http://blog.dovecot.org/2012/02/dovecot-clustering-with-dsync-based.html says: One possibilit

Re: [Dovecot] Dovecot replication not redirecting if server is down

2013-11-09 Thread Daniel Parthey
Hi Patrick the director does not check backends for availability. If one backend goes up or down, you need to instruct the director to add/remove this backend from its pool. You might be looking for a script named "poolmon" which does exactly this. Regards Daniel

[Dovecot] Dovecot replication not redirecting if server is down

2013-11-09 Thread Patrick Westenberg
Hi everyone, I'm running a test environment with a proxy in front of working replication between two backends but redirecting in case of a backend failure is not working. Nov 09 21:03:59 imap-login: Error: proxy(m...@example.net): connect(10.5.29.211, 143) failed: Connection refused (after 0 se