Closed Bug 1384092 Opened 7 years ago Closed 7 years ago

X-Account-Key/X-Identity-Key usage leads to unexpected results

Categories

(Thunderbird :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 394216

People

(Reporter: tozz, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643

Steps to reproduce:

We had a customer complaining that he was unable to send his e-mail. This turned out to be an issue in Thunderbird. This customer is running a small company and has other employees writing e-mails, storing them in a shared IMAP folder 'Drafts', so that the owner can open the e-mails, make any required changes and then send the e-mails out. For the record, all these employees are using the same mailbox/mail address, eg. 'info@example.com'.

There are a few quirks when this is done:

- The From details are taken from the original author (the employee, not the owner). This might or might not be an e-mail address that this user has in his own Thunderbird accounts. This could mean an e-mail is sent out the door with a From address that the sender doesn't have configured in Thunderbird.

- The used SMTP server depends on 'X-Account-Key' or 'X-Identity-Key' headers taken from the draft mail. (I dont know which one exactly). This caused the e-mail to be send out over a third-party SMTP service, which was not listed in the domain's SPF records, causing it to get rejected by spamfilters. WHere the correct SMTP server on the Employee's machine was Account ID 1, on the company owners machine this was Account ID 2. The mail was sent out using Account ID 1, which was not the correct SMTP server for this mail account (the mail was opened from a folder belonging to Account ID 2).

Please note, these users do not use global mail folders. Each IMAP account has its own tree with folders.

This issue seems related to these bugs, but some of these are over 10 years old:
https://bugzilla.mozilla.org/show_bug.cgi?id=327713
https://bugzilla.mozilla.org/show_bug.cgi?id=515004
https://bugzilla.mozilla.org/show_bug.cgi?id=699681
https://bugzilla.mozilla.org/show_bug.cgi?id=64267




Actual results:

- Incorrect From headers are used when sending the mail (taken from the mail draft)
- Incorrect SMTP server is used when sending the mail (taken from the mail draft)


Expected results:

- From headers should (in my opinion) be retrieved from the account settings, not from a draft mail (or any other mail for that matter).

- SMTP server used should not depend on a header in the draft, but instead on the account the user was working in.
So you run a company, customers pay you and you're asking the unpaid TB volunteers to fix the problem for you.

And on top of that, you've created a duplicate here since as you pointed out, the problem is old.

I think it will get fixed when we get around to doing bug 394216. Sadly the volunteer walked away, but I think we will address this in August 2017 to get it into TB 59.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.