<p>There are two settings that may be interesting for you:</p>
<p><code>realdelete</code>: Only removes message labels, but doesn't delete it. Sounds like it was made for Gmail.<br>
<code>readonly</code>: Makes the repository read-only, thus only syncing one-way.</p>
<p>The first one may be your best bet, if you are looking to dump all mails in an archive, while still adding new messages.</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/211#issuecomment-115057808">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEA4BBcIVeR0nWwdUCKy3w1fu07Kzks5oW0f_gaJpZM4FGREr.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/211#issuecomment-115057808"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>