Closed
Bug 1308767
Opened 9 years ago
Closed 9 years ago
non removal of account names and passwords when deleting an account
Categories
(MailNews Core :: Account Manager, defect)
MailNews Core
Account Manager
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 53.0
People
(Reporter: flopsie, Assigned: aceman)
References
Details
(Keywords: privacy)
Attachments
(1 file)
|
5.82 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160922113459
Steps to reproduce:
I deleted an email account to change a password and change email to an imap from POP3
Setup email address with new password and imap.
Actual results:
I could receive mail but couldn't send
Not all folders were available
checked saved passwords and found that they had not been deleted when the accout had been deleted, so now there were two passwords for the same account and that the outgoing stmp was using the OLD password so couldn't log in to send mail.
Deleted all passwords for that account. Reset account with new password and all worked
Expected results:
Old account and passwords should have been removed when account was deleted
Comment 1•9 years ago
|
||
bug 255948 fixed such an issue in version 3.
perhaps this is a regression?
Component: Untriaged → Account Manager
I don't think we delete the SMTP server when deleting a mail account. I don't think changing from POP3 to IMAP4 (on the same provider) always means a different SMTP server or password.
But if also the passwords for the receiving account weren't removed, that would be a bug.
But you specified in the bug creation that you are using Thundebird 5.0. Is that correct?
| Reporter | ||
Comment 3•9 years ago
|
||
I am using Thunderbird 45.4.0. That option didn't appear on the initial bug report form.
As I originally stated when the account was removed none of the details for that account were removed from the SAVED PASSWORDS FILE (tools/options/security/passwords)
It is not a regression. Bug 255948 only halfway works, maybe for imap accounts.
The current implementation tries to delete logins stored as <server type>://hostname . But in password manager we store logins under <localStoreType>://hostname . E.g. for POP3, localStoreType is 'mailbox', not 'pop3'.
Anyway, there is a forgetPassword method of the incomingServer of the account so we can use that one to clear the login. It is also much more specialized (e.g. for News account) than the simplistic method from bug 255948. There is even a test for it in local/test/test_pop3Password3.js .
Assignee: nobody → acelists
Blocks: 255948
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
Product: Thunderbird → MailNews Core
Version: 5.0 → Trunk
Also, deleting SMTP password will be done in bug 1315662.
This should do it.
Attachment #8812887 -
Flags: review?(mkmelin+mozilla)
Comment 7•9 years ago
|
||
Comment on attachment 8812887 [details] [diff] [review]
patch
Review of attachment 8812887 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM, r=mkmelin
Attachment #8812887 -
Flags: review?(mkmelin+mozilla) → review+
Thanks.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 53.0
You need to log in
before you can comment on or make changes to this bug.
Description
•