Show IMAP server's error reason when login fails

NEW
Unassigned

Status

--
enhancement
2 years ago
8 months ago

People

(Reporter: raysatiro, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36

Steps to reproduce:

I access Yahoo Mail from Thunderbird using imap.mail.yahoo.com.


Actual results:

Thunderbird told me login failed many times (I would choose retry) but did not tell me why.


Expected results:

I was able to access Yahoo Mail through the web interface so I wasn't sure what was going on. I enabled logging:

NSPR_LOG_FILE=C:\imap.log
NSPR_LOG_MODULES=imap:5,smtp:5,pop3:5,timestamp,sync

Reviewing the log I saw the actual error:

imap.mail.yahoo.com:NA:CreateNewLineFromSocket: 1 NO [AUTHENTICATIONFAILED] (#MBR1213) Please verify your account by going to https://login.yahoo.com

It turns out Yahoo may periodically require webmail login in order for IMAP login to continue working. Also, there is a slight delay when this happens. It took a few minutes after I logged in to webmail for Thunderbird to be able to successfully login via IMAP.

I think Thunderbird should show me that error, like: "Logging in to imap.mail.yahoo.com failed. The server says: (#MBR1213) Please verify your account by going to https://login.yahoo.com"

Comment 1

2 years ago
Nice enhancement request, thanks.
Severity: normal → enhancement

Updated

2 years ago
Status: UNCONFIRMED → NEW
Component: Untriaged → Security
Ever confirmed: true
(Reporter)

Comment 2

9 months ago
This also happens with SMTP. There is an authfailed message but Thunderbird does not show it. For example:

2018-03-09 05:58:55.320000 UTC - 912[a12140]: SMTP entering state: 17
2018-03-09 05:58:55.320000 UTC - 912[a12140]: SMTP AuthLoginStep2
2018-03-09 05:58:55.320000 UTC - 912[a12140]: PLAIN/LOGIN auth, step 2
2018-03-09 05:58:55.320000 UTC - 912[a12140]: Logging suppressed for this command (it probably contained authentication information)
2018-03-09 05:58:58.438000 UTC - 912[a12140]: SMTP entering state: 0
2018-03-09 05:58:58.438000 UTC - 912[a12140]: SMTP Response: 535 5.7.0 (#MBR1213) Please verify your account by going to https://login.yahoo.com
duplicate of bug 453154?
You need to log in before you can comment on or make changes to this bug.