Upgrade to 102.1.2 breaking mail filtering, session state, visibility of IMAP server - caused by bad realusername
Categories
(Thunderbird :: Filters, defect)
Tracking
(Not tracked)
People
(Reporter: bgz, Unassigned)
Details
(Whiteboard: [filterfail])
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Steps to reproduce:
Restarted TB to install pending upgrade from 102.1.1?? to 102.1.2 (64 bit)
[Last confirmed version I had was 102.0.1 but I keep up to date]
Actual results:
I think the root cause is a single issue causing multiple symptoms. Hence single bug report.
Initially one of my two IMAP mailboxes (and it's subfolders) appeared to have disappeared. I restarted TB and that mailbox re-appeared.
[It is just possible that in fact the subfolders were collapsed and I didn't notice the top level folder because it wasn't as prominent as it is normally]
Also a number of the tabs I had open showing various emails disappeared.
I also discovered that my message filters were not working properly. In particular, the last rule which moved emails not containing listed strings into a sub-folder had failed.
When I looked at the filter I found it disabled. When I enabled it and ran it I got the message:
"The folder 'House' could not be found, so filter(s) associated with this folder will be disabled. Verify that the folder exists, and that filters point to a valid destination folder. "
I suspect the root cause is handling of my username on the IMAP mail server.
My username was of the form jdoe@mailprovider.co.uk.
In configuration files this previously appeared as jdoe%40mailprovider.co.uk
e.g. strings in files
session.json
msgFilterRules.dat
of the form
"folderURI":"imap://jdoe%40cix.co.uk@mail.mailprovider.co.uk/House"
actionValue="imap://jdoe%40cix.co.uk@mail.mailprovider.co.uk/Oliver"
respectively
Changing those configuration files to jdoe (dropping domain info from the username) seemed to solve the issues.
i.e. to
"folderURI":"imap://jdoe@mail.mailprovider.co.uk/House"
actionValue="imap://jdoe@mail.mailprovider.co.uk/Oliver"
[However, for another mail server (the first in the list at - outlook.office365.com) I left the domain name in the username and that tab still appeared. So maybe I don't properly understand the issue - I am no expert]
In any case, edited the above files as I did might not solve the issue for other people if their mail server's require the domain name as part of their username.
Environment: Windows 7 Pro 64bit
Expected results:
I should have had a few more hours of my life.
I restored files from backup as required and modified to get back to the situation I had been in before the upgrade.
I think other reports of the issues are at:
https://support.mozilla.org/en-US/questions/1385362#answer-1526680
https://connect.mozilla.org/t5/discussions/update-to-102-turns-into-a-major-disaster/td-p/8974
(I think the third post by RealRaven is on the right track)
After thinking about it I think I understand better.
My correct username for this server should probably not have the domain name. i.e. be jdoe and not jdoe@mailprovider.co.uk
However, although it was wrong, it was working... until now.
The first launch of 102.1.2 was unable to log into that mail server so it did not appear (The other two IMAP servers I use did appear and interestingly, their usernames do includes the domain name).
TB has some logic which corrected the username in the account settings, so on the second launch the mail box re-appeared.
However, the username remained wrong in ancillary files and so that caused the other issues.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
It sounds like Thunderbird had bad realusername stored for you (for whatever reason). Now that we don't store that middle-step any more, the problem surfaced. Unfortunate, but unlikely something we could do anything about: the step where the bad data got into the system simply don't exist anymore so we can't prevent it.
Updated•2 years ago
|
Description
•