Open Bug 732778 Opened 13 years ago Updated 2 years ago

wrong username when vmail.me account created (vmail.me is not defined in ISPDB. Even though login with userName="email address" is successful but login with userName=localpart fails, localname part only is set as User Name: of Server Settings)

Categories

(Thunderbird :: Account Manager, defect)

10 Branch
x86
Windows Vista
defect

Tracking

(Not tracked)

People

(Reporter: emoore, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120228210006 Steps to reproduce: I signed up for a free email account with https://www.vmail.me/ and let Thunderbird 10.0.2 (under Vista) create a IMAP account using data it automatically retrieved. It verified the username and password when it created the account, but I found that I could not login afterwards. It would fail, asking me to either retry, enter the password again, or cancel. Restarting and entering the password again had no effect. I compared my accounts settings with the generic instructions on the email providers web site. It says to use my email address as the username. Thunderbird only used the portion to the left of the '@'. It stored tanstaafl rather than tanstaafl@vmail.me . I modified my IMAP and SMTP settings to use the entire email address as the username and restarted. That fixed the problems. I filled out a "contact us" form on their web site to notify them of this problem but haven't gotten any response.
(In reply to Eric Moore from comment #0) > I modified my IMAP and SMTP settings to use the entire email address as the > username and restarted. That fixed the problems. > > I filled out a "contact us" form on their web site to notify them of this > problem but haven't gotten any response. This means Thunderbird is innocent?
No. The new account wizard successfully logged in to the server to verify the username/password, yet somehow managed to store a different username. If there was a error in the username it was told to use and it detected that, it should have stored the username that worked rather than the one it was originally told to use. So I suspect both Thunderbird and wherever it retrieved the settings from are both to blame.
Eric can you set mail.wizard.logging.console to all and report what the wizard says ? (with that we'll be able to figure out where the information is retrieved from)
Confirmed with new mail address of kenken@vmail.me, with Tb 10.0.2. (1) Accout wizard, mail-addr=kenken@vmail.me IMAP, port, is pre-selected. username = kenken is shown. => Continue(Create Account) without" Manual Config" to modify it. (2) IMAP log for login using username=kenken. It fails. > 00000005 2.87609100 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:ProcessCurrentURL:imap://kenken@mail.vmail.me:993/verifyLogon: = currentUrl > 00000008 4.15173721 [2800] 1000[bb4d640]: try to log in > 00000011 4.15203762 [2800] 1000[bb4d640]: trying auth method 0x1000 > 00000012 4.15521908 [2800] 1000[bb4d640]: got new password > 00000013 4.15724993 [2800] 1000[bb4d640]: IMAP: trying auth method 0x1000 > 00000014 4.15731716 [2800] 1000[bb4d640]: PLAIN auth > 00000015 4.15739012 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:SendData: 1 authenticate plain > 00000017 4.43045855 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:CreateNewLineFromSocket: + > 00000018 4.43055344 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:SendData: Logging suppressed for this command (it probably contained authentication information) > 00000020 6.20334053 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:CreateNewLineFromSocket: 1 NO [AUTHENTICATIONFAILED] Authentication failed. > 00000021 6.20346546 [2800] 1000[bb4d640]: authlogin failed > 00000022 6.20353127 [2800] 1000[bb4d640]: marking auth method 0x1000 failed > 00000025 6.20373106 [2800] 1000[bb4d640]: trying auth method 0x4 > 00000026 6.20380068 [2800] 1000[bb4d640]: got new password > 00000027 6.20387125 [2800] 1000[bb4d640]: IMAP: trying auth method 0x4 > 00000028 6.20393562 [2800] 1000[bb4d640]: old-style auth > 00000029 6.20452976 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:SendData: Logging suppressed for this command (it probably contained authentication information) > 00000031 13.20309925 [2800] 1000[bb4d640]: 6141000:mail.vmail.me:NA:CreateNewLineFromSocket: 3 NO [AUTHENTICATIONFAILED] Authentication failed. > 00000032 13.20317650 [2800] 1000[bb4d640]: authlogin failed > 00000033 13.20322800 [2800] 1000[bb4d640]: marking auth method 0x4 failed > 00000036 13.20334911 [2800] 1000[bb4d640]: no remaining auth method > 00000037 13.20339012 [2800] 1000[bb4d640]: IMAP: ask user what to do (after login failed): new passwort, retry, cancel > 00000038 13.20348835 [2800] 1000[bb4d640]: login failed entirely (3) IMAP log for login using username=kenken@vmail.me. It is successfull. > 00000042 13.20964050 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:NA:ProcessCurrentURL:imap://kenken%40vmail%2Eme@mail.vmail.me:993/verifyLogon: = currentUrl > 00000048 14.51320839 [2800] 3832[fcd5c80]: try to log in > 00000051 14.51355076 [2800] 3832[fcd5c80]: trying auth method 0x1000 > 00000052 14.51864719 [2800] 3832[fcd5c80]: got new password > 00000053 14.52016258 [2800] 3832[fcd5c80]: IMAP: trying auth method 0x1000 > 00000054 14.52026081 [2800] 3832[fcd5c80]: PLAIN auth > 00000055 14.52135468 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:NA:SendData: 1 authenticate plain > 00000057 14.79132366 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:NA:CreateNewLineFromSocket: + > 00000058 14.79144192 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:NA:SendData: Logging suppressed for this command (it probably contained authentication information) > 00000060 15.07475185 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:NA:CreateNewLineFromSocket: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in > 00000061 15.08881855 [2800] 3832[fcd5c80]: login succeeded > 00000062 15.39617157 [2800] 3832[fcd5c80]: ca94c00:mail.vmail.me:A:SendData: 2 logout (4) Wizard log > 2012-03-07 09:34:17 mail.wizard INFO foundConfig() > 2012-03-07 09:34:17 mail.wizard INFO config.incoming=[object] > config.incoming.type=imap > config.incoming.hostname=mail.vmail.me > config.incoming.port=993 > config.incoming.username=kenken > config.incoming.password=[object] > config.incoming.password is empty > config.incoming.socketType=2 > config.incoming.badCert=false > config.incoming.auth=3 > config.incoming.authAlternatives=[probably array, length 0] > config.incoming.authAlternatives is empty > config.incoming.checkInterval=10 > config.incoming.loginAtStartup=true > config.incoming.useGlobalInbox=false > config.incoming.leaveMessagesOnServer=true > config.incoming.daysToLeaveMessagesOnServer=14 > config.incoming.deleteByAgeFromServer=true > config.incoming.deleteOnServerWhenLocalDelete=true > config.incoming.downloadOnBiff=true > config.incoming.targetSite=[object] > config.incoming.targetSite is empty > config.incomingAlternatives=[probably array, length 1] > config.incomingAlternatives.0=[object] > config.incomingAlternatives.0.type=pop3 > config.incomingAlternatives.0.hostname=mail.vmail.me > config.incomingAlternatives.0.port=995 > config.incomingAlternatives.0.username=kenken > config.incomingAlternatives.0.password=[object] > config.incomingAlternatives.0.password is empty > config.incomingAlternatives.0.socketType=2 > config.incomingAlternatives.0.badCert=false > config.incomingAlternatives.0.auth=3 > config.incomingAlternatives.0.authAlternatives=[probably array, length 0] > config.incomingAlternatives.0.authAlternatives is empty > config.incomingAlternatives.0.checkInterval=10 > config.incomingAlternatives.0.loginAtStartup=true > config.incomingAlternatives.0.useGlobalInbox=false > config.incomingAlternatives.0.leaveMessagesOnServer=true > config.incomingAlternatives.0.daysToLeaveMessagesOnServer=14 > config.incomingAlternatives.0.deleteByAgeFromServer=true > config.incomingAlternatives.0.deleteOnServerWhenLocalDelete=true > config.incomingAlternatives.0.downloadOnBiff=true > config.incomingAlternatives.0.targetSite=[object] > config.incomingAlternatives.0.targetSite is empty > config.outgoing=[object] > config.outgoing.type=smtp > config.outgoing.hostname=mail.vmail.me > config.outgoing.port=465 > config.outgoing.username=kenken > config.outgoing.password=[object] > config.outgoing.password is empty > config.outgoing.socketType=2 > config.outgoing.badCert=false > config.outgoing.auth=3 > config.outgoing.authAlternatives=[probably array, length 0] > config.outgoing.authAlternatives is empty > config.outgoing.addThisServer=true > config.outgoing.useGlobalPreferredServer=false > config.outgoing.existingServerKey=[object] > config.outgoing.existingServerKey is empty > config.outgoing.existingServerLabel=[object] > config.outgoing.existingServerLabel is empty > config.outgoing.targetSite=[object] > config.outgoing.targetSite is empty > config.outgoingAlternatives=[probably array, length 0] > config.outgoingAlternatives is empty > config.identity=[object] > config.identity.realname=%REALNAME% > config.identity.emailAddress=%EMAILADDRESS% > config.inputFields=[probably array, length 0] > config.inputFields is empty > config.domains=[probably array, length 0] > config.domains is empty > config.source=3 > config.id=[object] > config.id is empty > config.displayName=[object] > config.displayName is empty > config.createNewIncoming=[function] > config.createNewOutgoing=[function] > config.copy=[function] > config.isComplete=[function] (5) Wizard log for username change to to email address, and Exceptions. > 2012-03-07 09:34:52 mail.wizard INFO Create button clicked > 2012-03-07 09:34:52 mail.wizard WARN spinner start checking_password > 2012-03-07 09:34:52 mail.wizard INFO status msg: Checking password… > 2012-03-07 09:34:52 mail.wizard INFO Starting to test username > 2012-03-07 09:34:52 mail.wizard INFO username=true, have savedUsername=false > 2012-03-07 09:34:52 mail.wizard INFO authMethod=3 > 2012-03-07 09:35:02 mail.wizard INFO Finished verifyConfig resulted in 2147500037 > 2012-03-07 09:35:02 mail.wizard INFO tryNextLogon() > 2012-03-07 09:35:02 mail.wizard INFO username=true, have savedUsername=false > 2012-03-07 09:35:02 mail.wizard INFO authMethod=3 > 2012-03-07 09:35:02 mail.wizard INFO Changing username to email address. > 2012-03-07 09:35:02 mail.wizard INFO Starting to test username > 2012-03-07 09:35:02 mail.wizard INFO username=false, have savedUsername=true > 2012-03-07 09:35:02 mail.wizard INFO authMethod=3 > 2012-03-07 09:35:04 mail.wizard INFO Finished verifyConfig resulted in 0 > 2012-03-07 09:35:04 mail.wizard INFO status msg: Password ok! > 2012-03-07 09:35:04 mail.wizard WARN all spinner stop password_ok > 2012-03-07 09:35:04 mail.wizard INFO creating account in backend > Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2475" data: no] > Source File: chrome://messenger/content/folderPane.js > Line: 2477 > Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2475" data: no] > Source File: chrome://messenger/content/folderPane.js > Line: 2477 > 2012-03-07 09:35:04 mail.wizard INFO Shutting down email config dialog > Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2475" data: no] > Source File: chrome://messenger/content/folderPane.js > Line: 2477 > Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2475" data: no] > Source File: chrome://messenger/content/folderPane.js > Line: 2477 > (aobve exception continues) (6) Server Setting after account creation. username = kenken, instead of correct kenken@vmail.me. By theway, Ludovic, how can we copy/paste multiple Error Console log lines in one operation? Should we always execute copy/paste operation for every Error Console line in order to report Tb problem?
Confirming, because problem was reproduced.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Exception in folderPane.js::getSmartFolderName was irrelevant. After execution of View/Folders/Unified, exception disappeared, but this bu's problem still occurred. vmail.me is not defined in ISPDB. > https://live.mozillamessaging.com/autoconfig/v1.1/ It looks Tb forgets or fails to change to username=email address upon saving to Server Settings. If change of server.serverX.userName is impossible at this stage, creation of server.serverX.realuserName is a workaround in account creation wizard.
Solutions for issues found in this bug. (a) Add vmail.me to ISPDB. (b) Improvement when mail domain is not defined in ISPDB. (b-1) Change try order of username (i) email address first (ii) localname part second (b-2) If (i) fails but (ii) is successful, set it in mail.server.serverX.userName and/or mail.server.serverX.realuserName correctly. (c) Enhancement of ISPDB/Autoconfig in case that server supports both "email address" and localpart as username. (See bug 677048) .
Summary: wrong username when vmail.me account created → wrong username when vmail.me account created (even though login with userName="email address" is successful but login with userName=localpart fails, localname part only is set as User Name: of Server Settings)
I had the same problem as above (732778). However, I have discovered a second problem with Tbird with respect to vmail.me. I cannot send messages. When I attempt to send Tbird says "login to server vmail.me failed". Further, "Sending of message failed. The message could not be sent using SMTP server vmail.me for an unknown reason. Please verify that your SMTP server settings are correct and try again, or contact your network administrator." I checked outgoing server and it says: "username - vmail.me (Default)" where username is the account name. I seem to have no manual way to change it. I believe that it should say smtp.vmail.me. But I cannot try it because I cannot change it manually. I can receive mail on the account just fine after inserting the @vmail.me as stated above in 732778. I just can't send mail.
I am using POP.
(In reply to skysailor from comment #8) > I checked outgoing server and it says: > "username - vmail.me (Default)" where username is the account name. > I seem to have no manual way to change it. It's selected SMTP server definition which is set as "Default SMTP server" for the "Identity". "Definition of SMTP Server" is placed at bottom of Account List of Account Settings: account like one named "Outgoing Server(SMTP)" Read following documents. > http://kb.mozillazine.org/Mail_concepts > http://kb.mozillazine.org/Multiple_SMTP_servers_-_Thunderbird > http://kb.mozillazine.org/Multiple_identities_per_e-mail_account Same thing happens on userName in definition for SMTP authentication. Use "Edit" button to modify wrong userName(without @vmail.me) in the setting.
Summary: wrong username when vmail.me account created (even though login with userName="email address" is successful but login with userName=localpart fails, localname part only is set as User Name: of Server Settings) → wrong username when vmail.me account created (vmail.me is not defined in ISPDB. Even though login with userName="email address" is successful but login with userName=localpart fails, localname part only is set as User Name: of Server Settings)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: