Implement an outgoing EWS server
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: babolivier, Assigned: babolivier)
References
(Blocks 1 open bug)
Details
Attachments
(9 files, 2 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Implement the outgoing server interface from bug 1882574, to send messages from EWS.
Note: eventually we probably won't want to have as much separation between the various EWS interface implementations, but this is something we can fix past MVP.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 1•4 months ago
|
||
Implement a dummy EWS sending server that prints the MIME content of the email
to stdout.
Note that sending via the composer will show an error because copying the sent
message to the dedicated folder will fail, which is expected since we don't have
full storage of message contents yet.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 2•4 months ago
|
||
Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d36e626003f3
Part 1: Implement a dummy EWS sending server. r=leftmostcat
Assignee | ||
Comment 4•4 months ago
|
||
Assignee | ||
Comment 5•4 months ago
|
||
Assignee | ||
Comment 6•4 months ago
|
||
Updated•4 months ago
|
Assignee | ||
Comment 7•4 months ago
|
||
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Assignee | ||
Comment 8•4 months ago
|
||
On top of removing the burden on server implementations for ensuring the
Message-ID exists, this change also fixes a potential issue with sending MDN
replies with a Message-ID that differs from the one in the reply's header.
Assignee | ||
Comment 9•4 months ago
|
||
EWS requires Bcc recipients to be passed separately from the others. This is
because non-Bcc recipients are included in the MIME content, and therefore don't
need to be included separately in the request. But for compliance and privacy,
we don't include Bcc recipients in the MIME content.
I've also used this opportunity to make the type of the recipients a bit more
structured, which isn't a huge flow change since we would end up doing the same
parsing on the SMTP server side. So this is a small change that ends up saving a
bit of complexity on the server implementation's side.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Assignee | ||
Comment 10•3 months ago
|
||
The exception is passwords, which need to be stored in a different place (the
logins manager), and aren't needed right now (Basic auth is actively discouraged
for EWS, when it's not disabled entirely, and we don't support NTLM yet).
Updated•3 months ago
|
Updated•3 months ago
|
Assignee | ||
Comment 11•3 months ago
|
||
Assignee | ||
Comment 12•3 months ago
|
||
Flagging for landing for parts 2 and 3 only, as part 4 hasn't been reviewed yet.
Comment 13•3 months ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3c42d8a0f879
Part 2: Factor authentication outside of IEwsIncomingServer. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/e3a7db7d8951
Part 3: Remove constraint on the server URI being an implementor of nsIMsgMailNewsUrl. r=leftmostcat,mkmelin
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Assignee | ||
Comment 15•3 months ago
•
|
||
Marking the rest of the stack up for landing. Try run for the outstanding patches: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=c72469267e5473cbff1cb99b9c1219cfd19763c9
Updated•3 months ago
|
Comment 16•3 months ago
|
||
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/2e4a17dc941a
Part 4: Send messages via EWS. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/c973e9e0fd14
Part 5: Ensure the Message-ID is correctly passed to nsIMsgOutgoingServer::sendMailMessage. r=mkmelin,leftmostcat
https://hg.mozilla.org/comm-central/rev/481a29285725
Part 6: Send outgoing message to Bcc recipients when using EWS. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/6101bbda0b58
Part 7: Persist most attributes for the EWS outgoing server in prefs. r=ikey
https://hg.mozilla.org/comm-central/rev/96f0147e0e6c
Part 8: Update the vendored ews-rs. r=aleca
Comment 17•3 months ago
|
||
Backed out the latest push for causing bustage build: https://treeherder.mozilla.org/jobs?repo=comm-central&revision=952277c41584f8621398bc8624d6ec08897d4472
The bustage is here: https://treeherder.mozilla.org/logviewer?job_id=465532660&repo=comm-central&lineNumber=77535-77543
But also we have another leftover c
string here:
error[E0658]: `c".."` literals are experimental
0:31.92 --> ews_xpcom\src\outgoing.rs:678:49
0:31.92 |
0:31.92 678 | create_instance::<msgIOAuth2Module>(c"@mozilla.org/mail/oauth2-module;1").ok_or(
Updated•3 months ago
|
Comment 18•3 months ago
|
||
Assignee | ||
Comment 19•3 months ago
|
||
Assignee | ||
Updated•3 months ago
|
Comment 20•3 months ago
|
||
Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/6c5edd10a2e0
Part 4: Send messages via EWS. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/b6e2a625812b
Part 5: Ensure the Message-ID is correctly passed to nsIMsgOutgoingServer::sendMailMessage. r=mkmelin,leftmostcat
https://hg.mozilla.org/comm-central/rev/49bc680d4c7a
Part 6: Send outgoing message to Bcc recipients when using EWS. r=leftmostcat
https://hg.mozilla.org/comm-central/rev/369f77ae349a
Part 7: Persist most attributes for the EWS outgoing server in prefs. r=ikey
https://hg.mozilla.org/comm-central/rev/6e9480247e74
Part 8: Update the vendored ews-rs. r=aleca
https://hg.mozilla.org/comm-central/rev/5fe1cda9a9ae
Follow-up: Fix use of C-strings in Rust. r=ikey DONTBUILD
Description
•