David Tenser wrote: > > Bug 133525 doesn't seem to have anything with what I just > suggested. However, this bug does: > > http://bugzilla.mozilla.org/show_bug.cgi?id=160425 >
Yeah, two separate issues related only by the common thread of mail server password handling. Remembering it too long in the face of real auth failures leads to one problem and forgetting it after a connection failure leads to the other. I'm guessing (without looking at the code but it seems to be the only circumstance where both problems could exist) that to mozilla "connect-to-mailserver-and-authenticate" is somewhat atomic and a failure anywhere in there elicits a few retries (maybe its not actual retries - just "am I connected to this server? no? ok, try and connect/authenticate to access this folder" with the stored credentials not being cleared until after all the folders on the server have been checked, or maybe the fact that they've been forgotten not propagating to all threads because they've already retrieved them from PSM before the first one fails?) and then a forgotten password with the resulting blanked out dialog. This would mean that to fix both our problems the process needs to be broken down so that a connection failure may retry and doesnt forget the password (solves 160425) but a genuine auth failure must inhibit any further connection attempts to that server and forget the password to avoid accounts getting locked out (solves 133525) Dave
