为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Updating server setting in Thunderbird reverts with restart

  • 4 个回答
  • 0 人有此问题
  • 21 次查看
  • 最后回复者为 Matt

more options

I'm trying to update the server settings for an email address in Thunderbird, but it reverts to the old settings when Thunderbird restarts.

I go to the account settings for the email address of interest. I then update the Server Name or the User name (they both do the same thing). This then produces a pop-up that says "Restart is required to apply the server name or username change." Click OK to restart and when Thunderbird has restarted the Server Name/User Name has reverted back to the old setting.

A similar thing happens if I try and make the matching changes to the outgoing SMTP settings. They appear to change until Thunderbird restarts at which point the old settings have been restored.

I needed to make this change to two PC's. One PC (a windows 11 PC) worked fine. The other (a windows 10 PC) consistently fails. The affected PC is using the latest Thunderbird ver 115.5.1.

What am I missing here? Why can't we change the Server settings?

I'm trying to update the server settings for an email address in Thunderbird, but it reverts to the old settings when Thunderbird restarts. I go to the account settings for the email address of interest. I then update the Server Name or the User name (they both do the same thing). This then produces a pop-up that says "Restart is required to apply the server name or username change." Click OK to restart and when Thunderbird has restarted the Server Name/User Name has reverted back to the old setting. A similar thing happens if I try and make the matching changes to the outgoing SMTP settings. They appear to change until Thunderbird restarts at which point the old settings have been restored. I needed to make this change to two PC's. One PC (a windows 11 PC) worked fine. The other (a windows 10 PC) consistently fails. The affected PC is using the latest Thunderbird ver 115.5.1. What am I missing here? Why can't we change the Server settings?

被采纳的解决方案

I fixed it.

To get around the Schrodinger file I created a new temporary parent folder. Copied everything from the 03e9mwi8.default folder into this new folder. Thankfully this copy excluded the existing/non-existent prefs.js file. Then in the new folder copied prefs-27.js to prefs.js. Finally moved the 03e9mwi8.default folder out of the way and moved the new folder into this name. Started Thunderbird and everything then worked fine. I was able to update the server/user name details as normal.

Bit of a mission but we got there.

定位到答案原位置 👍 0

所有回复 (4)

more options

The changes are written to disk when Thunderbird closed and are stored in a file prefs.js. I guess we are looking for a reason the file might not be updated for you out of the millions of Thunderbird users.

Some common reasons are;

  • The computer has it's power lost before the files are written to disk. (ie just turned off)
  • The profile files are stored somewhere other than the local hard disk. (NAS storage, cloud synced locations and streaming backup included here)
  • The profile folder files are being scanned by the antivirus product and the relevant file is locked by the scanner as the time the write attempt is made. (This often results in prefs(1).js through some huge numerical number of files being written on each shut down and then ignored on startup.)
more options

Thanks for the reply here. It has pointed me in what looks like the right direction but I've still got a challenge.

File manager told me that prefs.js did not exist. I did have prefs-1.js through prefs-27.js. prefs-27.js was dated only a few months ago and a quick read of its contents and it appears to match the existing setup. So simple fix me thinks. Shutdown Thunderbird, Delete prefs-1.js through prefs-26.js, Copy prefs-27.js to prefs.js and restart Thunderbird. Should be simple enough.

That was until I got a errors trying to overwrite the existing (non-existent) prefs.js file. It looks like I have a Schrodingers file here that both exists and doesn't exist at the same time.

Even using the cmd window with admin permissions and I get this: C:\Users\username\AppData\Roaming\Thunderbird\Profiles\03e9mwi8.default>dir prefs.js

Directory of C:\Users\username\AppData\Roaming\Thunderbird\Profiles\03e9mwi8.default

File Not Found

C:\Users\username\AppData\Roaming\Thunderbird\Profiles\03e9mwi8.default>copy prefs-27.js prefs.js Overwrite prefs.js? (Yes/No/All): yes Access is denied.

       0 file(s) copied.

I'm not sure of my next step here, but it does look we need to sort this file out first before we can make the server config change we need.

Suggestions appreciated.

more options

选择的解决方案

I fixed it.

To get around the Schrodinger file I created a new temporary parent folder. Copied everything from the 03e9mwi8.default folder into this new folder. Thankfully this copy excluded the existing/non-existent prefs.js file. Then in the new folder copied prefs-27.js to prefs.js. Finally moved the 03e9mwi8.default folder out of the way and moved the new folder into this name. Started Thunderbird and everything then worked fine. I was able to update the server/user name details as normal.

Bit of a mission but we got there.

more options

You still need to address the cause of the issue that creates these numbered files, or nothing will really change.