Closed Bug 1128906 Opened 11 years ago Closed 7 years ago

[email/IMAP] yandex account creation can fail with bad-user-or-pass error because SMTP prober login fails because yandex is suspicious of newly created account; handle better

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: freddy, Unassigned)

References

Details

Attachments

(1 file)

Attached file log output
Trying to make something out of the JSON output in the log file (attached), it seems that yandex thinks I am spam and wants me to do additional OAuth :/ This is on the latest B2G Simulator, which claims v3 (https://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/fxos-simulator-3.0-linux-x86_64.xpi) Build ID: 20150203010207 Git Commit Info: 2015-02-03 10:17:36
On IRC :freddyb indicated he had created the account about 15 minutes before, which explains why yandex might view an SMTP login that quickly as suspicious. Using my yandex test account I created a while ago, I had no problem creating the account on my b2g-desktop instance. Unfortunately, the SMTP status code and extended status codes are both for "Authentication credentials invalid", so all we have to go on is the human-readable string which includes the word "spam". There's also allegedly a link, but it must be on a subsequent line that doesn't get returned as part of the error. I think this probably amounts to an enhancement request that we do one of the following: 1) If we see the word "spam" in the error message, we.. 1a) Ignore the SMTP prober's result and decide to be happy if IMAP was happy. 1b) Provide a special error code that indicates the server might think the user is a spammer and they should login via the web UI to check things out first. Potentially grab the entire error message and regexp out any links and display them 2) Detect links and regexp them and include them in the error response, just generally for the failure case. This is sorta where we've already been heading for gmail IMAP.
Summary: [B2G][Email] Cannot set up yandex mail: Invalid username or password → [email/IMAP] yandex account creation can fail with bad-user-or-pass error because SMTP prober login fails because yandex is suspicious of newly created account; handle better
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: