为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Thunderbird attempts to log in again after log in fails and I click Cancel

  • 7 个回答
  • 1 人有此问题
  • 9 次查看
  • 最后回复者为 Matt

more options

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.

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.

所有回复 (7)

more options

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.

more options

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.

more options

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.

more options

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.

more options

If your passwords are normally saved.... you look in the saved passwords in options and see if you have both mail and calendar passwords.

more options

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.

more options

I assume this is what your looking for https://dxr.mozilla.org/comm-central/source/mailnews/imap/src