Closed Bug 2073250 Opened 1 month ago Closed 19 days ago

EWS: Problems when adding a second account on the same server - Thunderbird assigned all directories and mails from account 1 to account 2. So account 2 was actually a mirror of account 1

Categories

(MailNews Core :: Networking: Exchange, defect)

Thunderbird 156
defect
Points:
3

Tracking

(Not tracked)

RESOLVED FIXED
161 Branch

People

(Reporter: domi, Assigned: edicharry)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

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

Steps to reproduce:

I added one EWS account and then a second one - both are on the same server.

Actual results:

Thunderbird assigned all directories and mails from account 1 to account 2. So account 2 was actually a mirror of account 1 (with the same EWS folder IDs, according to the SOAP requests/responses).

Expected results:

I had expected so see account 2's mailbox.

This happened with Tb 154, 155, 156.

I could eventually receive the correct mailbox when I

  • deleted account 2
  • deactivated account 1's automatic connections
  • deleted all Exchange cookies and the cache
  • created the account in manual mode.
Component: Untriaged → Networking: Exchange
Product: Thunderbird → MailNews Core
Summary: EWS: Problems when adding a second account on the same server → EWS: Problems when adding a second account on the same server - Thunderbird assigned all directories and mails from account 1 to account 2. So account 2 was actually a mirror of account 1

I was able to reproduce this with our on-premises test server. It does not reproduce with a Microsoft 365 connected account.

STR:

  1. Add an on-premises test account using automatic configuration.
  2. Add another on-premises test account using automatic configuration.

Both accounts end up viewing the same underlying messages from the first account.

This appears intermittent.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → edicharry
Severity: -- → S2
Status: NEW → ASSIGNED
Points: --- → 3

It seems like this might have something to do with Necko caching because if you wait long enough between adding the two accounts, then the issue goes away.

Does your server use basic authentication or NTLM?

Flags: needinfo?(domi)

It's Microsoft-IIS/10.0 and can only handle basic authentication.

Flags: needinfo?(domi)

That means it's probably not Necko related then since in 156 we weren't using Necko for Basic.

Attachment #9648251 - Attachment description: WIP: Bug 2073250 - Fix multiple accounts on same server directing to same account. → Bug 2073250 - Fix multiple accounts on same server directing to same account. r=#thunderbird-back-end-reviewers
Duplicate of this bug: 2076093
Attachment #9648251 - Attachment description: Bug 2073250 - Fix multiple accounts on same server directing to same account. r=#thunderbird-back-end-reviewers → Bug 2073250 - Fix multiple accounts on same server directing to same account.
Target Milestone: --- → 161 Branch

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/0d8dbad75044
Fix multiple accounts on same server directing to same account. r=babolivier

Status: ASSIGNED → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
See Also: → 2086252
Duplicate of this bug: 2082964
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: