Open Bug 1798199 Opened 2 years ago Updated 29 days ago

Thunderbird forgets changed settings (new username) of manually added SMTP server after restart

Categories

(Thunderbird :: Preferences, defect)

Thunderbird 102
Unspecified
macOS
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: zaga1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(15 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

Updating SMTP password

Actual results:

Password not shown updated in Settings > Password > Saved password

Expected results:

Password updated in Settings > Password > Saved password

Updating SMTP password

How? Where? Please provide full and clear steps to reproduce.

Flags: needinfo?(zaga1)

this is related to Bug 1798197

Flags: needinfo?(zaga1)

Works fine for me. Must be some corrupted file in the profile (key4.db, cert9.db perhaps?)

Also try Help | Troubleshoot mode

See Also: → 1798197

Cannot access Troubleshoot mode - Help dropdown not greyed out (reported in Bug 1798874)

All these problems started when updated to v102

(In reply to Magnus Melin [:mkmelin] from comment #14)

Works fine for me. Must be some corrupted file in the profile (key4.db, cert9.db perhaps?)

What would be the consequences if I delete those db files?

(In reply to Magnus Melin [:mkmelin] from comment #15)

Also try Help | Troubleshoot mode

Cannot access Troubleshoot mode - Help dropdown greyed out (reported in Bug 1798874)
(Ignore comment 16)
All these problems started when updated to v102

If you delete them you can't access any stored passwords anymore. (Do keep a backup of them before deleting. Then you can always put them back later.)

Please try reinstalling.
If still a problem, please check if you have any issues if creating a new profile (start with the -p flag to do that)

(In reply to Magnus Melin [:mkmelin] from comment #20)

Please try reinstalling.
If still a problem, please check if you have any issues if creating a new profile (start with the -p flag to do that)

Flags: needinfo?(zaga1)

what is -p flag?
I am reluctant to reinstall - I have too many accounts and don't have time to go through all this and it may not work anyway.

I have narrowed down issue in that it is the Accounts Settings that is not saving new smtp user/name (see new screenshots) but reverts to previous smtp settings on relaunching app. However, the new username and password now saves correctly to the Password Manager (still saved there after relaunch) so by re-updating the smtp user/name in Accounts Setting TB remembers (until relaunch) the saved associated Password Manager username/password.

Is there an earlier version (when Accounts Settings was under the Tools menu) of OSX TB that will work on an M1 Macbook/OSX 12 or 13? Otherwise, sadly, I don't think I can continue with TB v102 there are just too many issues, it's a big headache. Postbox which is similar to TB has no issues.

Flags: needinfo?(zaga1)

I have narrowed down issue in that it is the Accounts Settings that is not saving new smtp user/name (see new screenshots) but reverts to previous smtp settings on relaunching app.

Next time you create the smtp user/name, check tools > developer > error console for relevant information.
Same thing when creating responding to the password prompt.

  1. reinstall of the program does not touch your Thunderbird data/profile (but you do have backups of your data, correct?)
  2. -p allows you to switch between data sources/profiles, it won't delete your old profile unless you tell it to.

Postbox ... has no issues.

That's because it is based on an almost 10 year old version of Thunderbird http://kb.mozillazine.org/Email_clients_based_on_Thunderbird

(In reply to Wayne Mery (:wsmwk) from comment #24)

I have narrowed down issue in that it is the Accounts Settings that is not saving new smtp user/name (see new screenshots) but reverts to previous smtp settings on relaunching app.

Next time you create the smtp user/name, check tools > developer > error console for relevant information.
Same thing when creating responding to the password prompt.

error console message attached.

  1. reinstall of the program does not touch your Thunderbird data/profile (but you do have backups of your data, correct?)
  2. -p allows you to switch between data sources/profiles, it won't delete your old profile unless you tell it to.

how do I use -p flag?

Postbox ... has no issues.
That's because it is based on an almost 10 year old version of Thunderbird http://kb.mozillazine.org/Email_clients_based_on_Thunderbird

But it works - headache-free!

In the Mac terminal application, do
/Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin -p (or -P, either one)

It brings up the profile manager. https://support.mozilla.org/kb/using-multiple-profiles

Component: Untriaged → Preferences
OS: Unspecified → macOS

zaggie1, seems like your problem has changed since comment 0, and iiuc, per your comment 22, this is no longer about passwords.
Is the following a correct representation of your problem?

  • You are able to add a new SMTP server which survives restarting TB
  • The associated passwords are correctly saved in Saved Passwords and survive restart TB
  • When you change the username in the SMTP server settings, the change works for the current session, but does not survive restarting TB, so the username will go back to the original username with which the SMTP server was first created.

Is that correct? If not, what exactly are you doing, and what exactly is failing?

  • Also, are the symptoms of this bug still different from your bug 1798197?
  • Zaggie1, as we've fixed bug 1782646 on release channel now, can you recheck if this bug still occurs on TB 102.5.0+?

(In reply to zaggie1 from comment #22)

I have narrowed down issue in that it is the Accounts Settings that is not saving new smtp user/name (see new screenshots) but reverts to previous smtp settings on relaunching app. However, the new username and password now saves correctly to the Password Manager (still saved there after relaunch) so by re-updating the smtp user/name in Accounts Setting TB remembers (until relaunch) the saved associated Password Manager username/password.

Flags: needinfo?(zaga1)
Summary: Passwords not updating → Thunderbird forgets settings of manually added SMTP server after restart
Summary: Thunderbird forgets settings of manually added SMTP server after restart → Thunderbird forgets changed settings (new username) of manually added SMTP server after restart

(In reply to Thomas D. (:thomas8) from comment #28)

zaggie1, seems like your problem has changed since comment 0, and iiuc, per your comment 22, this is no longer about passwords.
Is the following a correct representation of your problem?

  • You are able to add a new SMTP server which survives restarting TB

No, new SMTP server does not survive restarting

  • The associated passwords are correctly saved in Saved Passwords and survive restart TB

Correct

  • When you change the username in the SMTP server settings, the change works for the current session, but does not survive restarting TB, so the username will go back to the original username with which the SMTP server was first created.

Correct

Flags: needinfo?(zaga1)

(In reply to Thomas D. (:thomas8) from comment #28)

Is that correct? If not, what exactly are you doing, and what exactly is failing?

I dont know how else to describe other than in the sequence of screen shots I previously provided

  • Also, are the symptoms of this bug still different from your bug 1798197?

It is the same bug

  • Zaggie1, as we've fixed bug 1782646 on release channel now, can you recheck if this bug still occurs on TB 102.5.0+?

Updating to 102.5.1 has not cured the problem

Also same issue with TB Version 78.14.0 on Intel Mac.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
OS Darwin 14.5.0
Name Thunderbird
Version 78.14.0
Build ID 20210901192859

Problem still occuring in v115

Something in your profile interfering? To test, create a new profile (start with thunderbird -P) and try to reproduce

Absolutley no changes I make in Account Settings ever gets saved - always reverts back to initial settings on relaunching app as occured pre v115.
Launching in troubleshoot mode makes no difference - nothing gets saved.

How Do I open profile manager on Mac OSX TB?

(In reply to zaggie1 from comment #34)

How Do I open profile manager on Mac OSX TB?
Found it.

Where are SMTP settings saved?
Where are Identities saved?
Can these locations be repaired?

(In reply to zaggie1 from comment #34)

Absolutley no changes I make in Account Settings ever gets saved - always reverts back to initial settings on relaunching app as occured pre v115.
Launching in troubleshoot mode makes no difference - nothing gets saved.

How Do I open profile manager on Mac OSX TB?

Is this useful info?:
Application Basics
Name Thunderbird
Version 115.2.0
Build ID 20230828145448
Distribution ID
Update Folder
/Users/xxxx/Library/Caches/Thunderbird/updates/Applications/Thunderbird
Update History
Update Channel release
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:115.0) Gecko/20100101 Thunderbird/115.2.0
OS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Jul 6 22:19:54 PDT 2023; root:xnu-8020.240.18.702.13~1/RELEASE_ARM64_T8101
Rosetta Translated false
Application Binary /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin
Profile Folder
Build Configuration about:buildconfig
Memory Use about:memory
Cache Use about:cache
Performance about:processes
Registered Service Workers about:serviceworkers
Multiprocess Windows 0/0
Fission Windows 0/0 Enabled by default
Remote Processes 2
Enterprise Policies Inactive
Google Location Service Key Missing
Google Safebrowsing Key Missing
Mozilla Location Service Key Missing
Safe Mode false
Memory Size (RAM) 8.0 GB
Disk Space Available 13.5 GB
Profiles about:profiles
Telemetry Data about:telemetry

They are saved in the settings. Search advanced configuration for "smtpserver"

How can I use the configurations listed under "smtpserver" to resolve this problem?

You mentioned previously that it could be some corrupted file in the profile (key4.db, cert9.db) how can I check this also?

Severity: -- → S4
Flags: needinfo?(zaga1)
Whiteboard: [closeme 2023-11-20]

I have looked in the profile folder but not sure which file to check or what to look for.

Flags: needinfo?(zaga1)

Solved! ... sort of:
As I was using a "user.js" file to resolve other issue (Bug 1615681) my account changes are not being automatically updated to the user.js file, only to the default prefs.js or that there is an underlying issue with either of these files?

You generally shouldn't be saving things to user.js

Flags: needinfo?(zaga1)

Maybe so but it's the ony way I have been able to resolve the problem. Is there a better way?

Flags: needinfo?(zaga1)
Whiteboard: [closeme 2023-11-20]
Attached image Get Info on prefs.js

Assuming you are on Mac, to Get Info on prefs.js. Does it show read & write as seen in this screen shot?

Flags: needinfo?(zaga1)

Yes, it shows read & write previleges

Flags: needinfo?(zaga1)
Duplicate of this bug: 1798197
Duplicate of this bug: 1867487
Blocks: 1863320
See Also: → 855751

(In reply to Wayne Mery (:wsmwk) from comment #43)

You generally shouldn't be saving things to user.js

TB still not saving updated IMAP prefs without manually applying to user.js file. Any update on a fix for this?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: