<p>I can't tell, I don't know Dovecot enough.</p>

<p>What I understand is that you're feeding Dovecot's <em>Maildir database</em> behind his back. So, I'm not surprised that any Dovecot assumptions about its own data are not met at some point. And that's why I talked about a <em>very unusual use case</em> coming <em>from the tool chain</em>.</p>

<p>While the initial request seems legit at a first glance, I'm not sure we want to match/support assumptions of all IMAP servers (using a Maildir database) out there.</p>

<p>I think we first have to check if our Maildir is wrong but I'm pretty sure the standard is light enough to not require anything in this area.</p>

<p><a href="http://wiki2.dovecot.org/MailboxFormat/Maildir">http://wiki2.dovecot.org/MailboxFormat/Maildir</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/157#issuecomment-70644035">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEJQEnTarp3me3GYEmGMECsleuhTuks5njjwzgaJpZM4DTpUO.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/157#issuecomment-70644035"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>