On Wednesday, 4 June 2014 11:47:32 BST, Jan Kundrát wrote:
What I'm especially worried is a situation where the remote
server is just stubborn and refuses to work anymore, rejecting
our connection attempts all the time. If Trojita just
reocnnected, then we would be wasting the energy for nothing.
But perhaps the exponential backoff would help here -- I don't
know.
Exponential backoff might an answer, I guess - the remote server looks
sick, but we'll poke it periodically to see if it's recovered :)
On Monday, 2 June 2014 14:31:37 CEST, Steve Dodd wrote:
Maybe a checkbox in the server settings, "reconnect on server
errors", off by default?
In general, I dislike adding checkboxes for these options.
You're interested in that feature so you would trigger that
checkbox, but what about all the other users? Isn't there
something better which would magically work for all of them, and
without manual tweaks? How is their situation going to be
different from yours, after all?
Maybe the back off is the way to go then - unfortunately AIUI imap errors
aren't nicely coded in the same way that SMTP errors are, so there's no
chance to be smart and behave differently in response to different
situations...
Steve