Closed Bug 1092885 Opened 11 years ago Closed 11 years ago

email uses imap user to log into smtp host

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 805501

People

(Reporter: toby, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.1.0 Build ID: 20140903121924 Steps to reproduce: ZTE Open C, software FFOS_US_EBAY_OPENCV1.0.0B04, OS version 1.3.0.0, platform version 28.0 Set up an email account manually. IMAP+SMTP. The IMAP username is imapuser and the SMTP username is smtpuser. Actual results: IMAP login succeeded but SMTP SASL authentication failed. The screen shows: Invalid username or password. Check for typos. [bad-user-or-pass] logcat shows: I/GeckoDump( 2354): LOG: pushCard for type: setup_progress I/Gecko ( 2354): WLOG: PROBE:SMTP attempting to connect to mail.caboteria.org I/Gecko ( 2354): WLOG: PROBE:IMAP attempting to connect to mail.caboteria.org I/Gecko ( 2354): WWAR: PROBE:SMTP sad. error: | bad-user-or-pass | | I/Gecko ( 2354): WLOG: searchargs: UID 145562:145611 I/Gecko ( 2354): WLOG: PROBE:IMAP happy, TZ offset: -5 server logs show: Nov 2 21:34:05 ip-10-68-90-142 postfix/smtpd[18726]: < 209-6-9-24.c3-0.ded-ubr1.sbo-ded.ma.cable.rcn.com[209.6.9.24]: AUTH PLAIN aW1hcHVzZXIAaW1hcHVzZXIAbm90bXlwYXNzd29yZA== Nov 2 21:34:05 ip-10-68-90-142 postfix/smtpd[18726]: xsasl_cyrus_server_first: sasl_method PLAIN, init_response aW1hcHVzZXIAaW1hcHVzZXIAbm90bXlwYXNzd29yZA== Nov 2 21:34:05 ip-10-68-90-142 postfix/smtpd[18726]: xsasl_cyrus_server_first: decoded initial response imapuser Nov 2 21:34:05 ip-10-68-90-142 postfix/smtpd[18726]: warning: SASL authentication failure: Password verification failed Expected results: If I decode the auth string "aW1hcHVzZXIAaW1hcHVzZXIAbm90bXlwYXNzd29yZA==" from the previous section it's using imapuser but it should be using smtpuser: $ echo aW1hcHVzZXIAaW1hcHVzZXIAbm90bXlwYXNzd29yZA== | base64 -d - | hexdump -C 00000000 69 6d 61 70 75 73 65 72 00 69 6d 61 70 75 73 65 |imapuser.imapuse| 00000010 72 00 6e 6f 74 6d 79 70 61 73 73 77 6f 72 64 |r.notmypassword| 0000001f
Bug 805501 introduced support for separate IMAP and SMTP credentials starting in v2.0, this unfortunately won't work in v1.3. I believe the Open C is upgradeable, although https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/ZTE_OPEN_C is a bit nebulous. http://paulrouget.com/e/openc/ might be more useful or other forums.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Thanks for the links, especially the paulrouget.com one. I'm running 2.1 now and can email (after installing a cert or two)!
You need to log in before you can comment on or make changes to this bug.