Re: [MlMt] Disable Saving of Sent Mail

2016-04-25 Thread Josh Fishburn

On 24 Apr 2016, at 5:25, Benny Kjær Nielsen wrote:


On 23 Apr 2016, at 21:48, Josh Fishburn wrote:

I use FastMail, which I have set to do its own saving of sent mail. 
Is there a way to turn this behavior off in MailMate for my "Sent 
Items" folder so that I don't get duplicates of every sent message in 
there?


No.


I'd rather let FastMail's servers handle this.


It's a tricky problem, because this would mean that MailMate should 
permanently delete its copy of the message just after sending it. 
Performance-wise it doesn't make much of a difference. Either the 
message is downloaded from “Sent Messages” or it's uploaded to 
“Sent Messages”. The only way to avoid this is for MailMate to 
automatically detect the sent message duplicate and keep its own local 
copy and “just” map it to the online copy. It might not be that 
trivial though, e.g., Gmail adds headers to the sent mail which means 
that they are no longer strictly identical.


It looks like FastMail does the same - when I compare the duplicate 
messages, one has detailed headers, the other includes only the original 
message. The deduplication seems to "just work" in Apple Mail (perhaps 
it's doing something like what you describe above). Thanks for the 
detailed explanation of the issue - I had assumed it was less 
complicated than that.


As a workaround you can setup deletion of sent messages yourself. Add 
a rule to the “Sent Messages” mailbox which deletes any message 
which has a “Relayed” header (Relayed exists). This is a virtual 
header which only exists in MailMate and not in the FastMail copy.



Thanks, Ill give that a try.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Disable Saving of Sent Mail

2016-04-24 Thread Benny Kjær Nielsen

On 24 Apr 2016, at 4:40, Gary Hull wrote:

This sounds like a bug somewhere. The sent mail should have a unique 
ID so that every element in the IMAP ecosystem would recognize any 
mail with that ID as being the same as any other.


Only Gmail works like this. All other IMAP servers (correctly) allow 
emails to have identical `Message-ID`s. In that case, it's no problem 
that both the server and MailMate saves the same message in “Sent 
Messages”. For Gmail it's undefined what happens, but usually Gmail 
quietly deletes one of the emails -- even if they are not strictly 
identical.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Disable Saving of Sent Mail

2016-04-23 Thread Gary Hull
This sounds like a bug somewhere. The sent mail should have a unique ID 
so that every element in the IMAP ecosystem would recognize any mail 
with that ID as being the same as any other.


On 24 Apr 2016, at 4:48, Josh Fishburn wrote:


Hello,

I use FastMail, which I have set to do its own saving of sent mail. Is 
there a way to turn this behavior off in MailMate for my "Sent Items" 
folder so that I don't get duplicates of every sent message in there? 
I'd rather let FastMail's servers handle this.


Thanks in advance,
Josh
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate