Thunderbird attempts to log in again after log in fails and I click Cancel
When checking for mail, I get an error message: Log in to "imap.mail.me.com" failed. Buttons are "Enter new password" and "Cancel". I know the password has not changed, so I click Cancel. Thunderbird immediately tries to log in to the same account again. It fails, as one would expect, and shows the same error message again.
When I click Cancel, Thunderbird should not immediately attempt to log in to the account again.
This is associated with iCloud locking my Apple ID for security reasons. I presume it is because other persons are trying to log in to their iCloud account and entering my ID by mistake.
Svi odgovori (7)
Are you sure you only have the account configured once in the account settings? or have you set it to check mail at a very short interval? I could see something like checking at one minute intervals appearing to be straight away to you and be a cuase of apple locking your id.
Hi Matt, thank you for the rapid response.
I have multiple accounts configured, but only one of them is configured to connect to iCloud (imap.mail.me.com). That was one of the first things I checked.
The iCloud email settings are:
- Check for new messages at startup
- Check for new messages every 10 minutes
- Server supports folders that contain sub-folders and messages
- Max number of server connections to cache: 5
- Connection security: SSL/TLS
- Authentication method: Normal password
I'm pretty sure that TB is not causing my Apple ID to be locked. In order for TB to cause the Apple ID to be locked, it would have to send the wrong password the first time. However, once login fails, I don't want TB to keep trying. It certainly doesn't make anything better.
The simplest possible explanation would be a logic error where the Cancel button is treated as a Retry.
Is it possible that TB is trying to make multiple connections to the server? If the code is multi-threaded it could easily have a race condition.
twb- said
The simplest possible explanation would be a logic error where the Cancel button is treated as a Retry.
Simple, but if it were the case in OSX it would also be the case in Windows. As I have a couple of non working mail accounts where I click cancel on every restart I think I would have noticed it as well as you.
Tried with add-ons disabled... perhaps lightning is trying to access your calendar.
Thanks, I just disabled lightning and will see if that helps. In order to reproduce the problem, I would need to force Apple to disable my Apple ID. I would prefer not to do that right now. But it won't be long before someone tries to get into my account again. If the cause is in lightning, I should get one login error dialog, not two.
If your passwords are normally saved.... you look in the saved passwords in options and see if you have both mail and calendar passwords.
I never used the calendar feature - I got it in an update but I was already using OSX Calendar and never switched.
I looked in saved passwords and there was no calendar password. There were a couple of passwords for obsolete accounts which I deleted. I don't think they were associated with this bug but I can't be sure.
Could you point me at the sources for the IMAP login code? I know JS, C++ and IMAP but I have never worked on Mozilla and I don't know where anything is in the sources.
I assume this is what your looking for https://dxr.mozilla.org/comm-central/source/mailnews/imap/src