<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">On 11 Jan 2025, at 19:49, froup via mailmate wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">The only thing bothering me is that I am using MS Office 365 from my work account, and the server would automatically copy the sent messages to the Sent folder. So, with the same function provided by MailMate, there would always be duplicated messages in the folder.</p>
</blockquote>
<p dir="auto">Years ago I had to use an Office 365 account for work and the MS server automatically copying the sent message was very irritating! But I found a solution… if you look at the headers in a message that the server copied to the Sent folder, you will find one or two headers that are unique to sent messages automatically copied by the 365 server. I then used one of these headers – <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">X-MS-Exchange-Organization-MessageDirectionality: Originating</code> – to create a rule on the Office 365 server:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">Conditions:
   From: Jolin Warren
   Message header includes: X-MS-Exchange-Organization-MessageDirectionality: Originating

Actions:
   Delete

Stop processing more rules: ✓ticked
</code></pre>
<p dir="auto"><img src="cid:04F36974-F8A1-4182-956C-164D3F151E07@oakandapple.org" width="784" alt title="PastedImage.png" style="width: 100%; max-width: 784px;"></p>
<p dir="auto">This will delete the copy that Office 365 creates so you only have a single copy of your sent message (the one MailMate provides, which is the original before it’s been handed off to a mail server). This way you have standard behaviour with MailMate and you can get rid of Office 365’s unorthodox duplicates.</p>
<p dir="auto">--<br>
=> Jolin</p>

</div>
</div>
</body>

</html>