<p dir="auto">On 11 Feb 2016, at 17:21, Benny Kjær Nielsen wrote:
</p>

<blockquote>
<p dir="auto">On 11 Feb 2016, at 16:52, Benny Kjær Nielsen wrote:
</p>

<blockquote>
<blockquote>
<p dir="auto">On 10 Feb 2016, at 18:13, Roberto Thiella wrote:
</p>

<blockquote>
<p dir="auto">When I archive a message from the inbox to the archive box it disappear from the destination folder after a very short time.
<br/>
The problem is that it disappear from the server and I can’t rescue it any more.
</p>
</blockquote>
</blockquote>
</blockquote>

<p dir="auto">Thanks for the second set of logs. I now have a theory. Here's the important part:
</p>

<p dir="auto">  15:57:26 C: J34 UID MOVE 39761 Archive
<br/>
        15:57:26 S: * OK [COPYUID 1452555050 39761 32355]
<br/>
        15:57:26 S: J34 OK UID MOVE Completed.
<br/>
        ...
<br/>
        15:57:26 C: K35 NOOP
<br/>
        15:57:26 S: K35 OK NOOP Completed.
<br/>
        ...
<br/>
        15:57:26 C: K36 UID STORE 39761 +FLAGS.SILENT (\Deleted)
<br/>
        15:57:26 S: K36 OK UID STORE Completed.
<br/>
        15:57:26 C: K37 UID EXPUNGE 39761
<br/>
        15:57:26 S: * 2 EXPUNGE
<br/>
        15:57:26 S: K37 OK UID EXPUNGE Completed.
</p>

<p dir="auto">In plain English:
</p>

<p dir="auto">* MailMate tells the server to move the message and this succeeds, but apparently the message is not deleted from “Archive”. There should have been an EXPUNGE reply as described [here](<a href="https://tools.ietf.org/html/rfc6851">https://tools.ietf.org/html/rfc6851</a>).
<br/>
* Then MailMate sends a NOOP (dummy command) in an attempt to trigger the server to tell MailMate that it has expunged the message.
<br/>
* Finally, MailMate deletes the message itself (from the INBOX).
</p>

<p dir="auto">Now, the message should still exist in Archive since it was successfully moved, but I think the deletion in INBOX triggers it to be deleted in both locations.
</p>

<p dir="auto">It's a serious server bug and you should inform Yandex. I'm afraid it's not obvious how to work around it without making it very inefficient for other servers. Since the side-effect of the bug is serious then I'll insert an explicit check for `imap.yandex.ru` to disable the use of UID MOVE. I'll also introduce a way to disable the use of UID MOVE completely:
</p>

<p dir="auto">  defaults write com.freron.MailMate MmNeverUseIMAPMOVE -bool YES
</p>

<p dir="auto">Let me know if Yandex tells you they fixed the bug (wishful thinking...).
</p>

<p dir="auto">-- 
<br/>
Benny
<br/>
_______________________________________________
<br/>
mailmate mailing list
<br/>
mailmate@lists.freron.com
<br/>
<a href="http://lists.freron.com/listinfo/mailmate">http://lists.freron.com/listinfo/mailmate</a>
</p>
</blockquote>
<p dir="auto">I have to tell you that if I use Mail instead of MailMate there is not problem at all.
<br/>
All is working fine.
<br/>
Many thanks.
</p>

<p dir="auto"><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 13px;"><font face="Lucida Handwriting"><i>—</i></font></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Lucida Handwriting" color="#0433ff"><i>Roberto</i></font></div><br class="Apple-interchange-newline">
</p>