<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!-- body{padding:1ex;margin:0;font-family:sans-serif;font-size:small}a[href]{color:-moz-hyperlinktext!important;text-decoration:-moz-anchor-decoration}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em}blockquote blockquote{border-color:#006312}blockquote blockquote blockquote{border-color:#540000} --></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div class="defangedMessage">
        <div id="me90863">
                <div>
                        With IMAP:</div>
                <div>
                        &nbsp;</div>
                <div>
                        tag STORE 1:* -flags \Deleted</div>
                <div>
                        &nbsp;</div>
                <div>
                        You&#39;ll have to do it on every folder though... the kind of thing scripting is handy for!</div>
                <div>
                        &nbsp;</div>
                <div>
                        Bron.</div>
                <div>
                        &nbsp;</div>
                <div>
                        On Mon, Apr 9, 2012, at 07:32 AM, Sachin Divekar wrote:</div>
                <blockquote class="me90863QuoteMessage" type="cite">
                        Dear guys,
                        <div>
                                &nbsp;</div>
                        <div>
                                I have a 5GB mailbox which I moved using imapsync. But somehow I</div>
                        <div>
                                messed up with --delete option and end up with almost all the messages</div>
                        <div>
                                having \Deleted flag set. I do not have delayed expunge enabled, so</div>
                        <div>
                                I can not use unexpunge utility. &nbsp;I am using cyrus-imapd&nbsp;v2.3.7.</div>
                        <div>
                                &nbsp;</div>
                        <div>
                                Is there any way I can unset \Deleted flag for all the mails in the mailbox?</div>
                        <div>
                                &nbsp;</div>
                        <div>
                                Thank you.</div>
                        <div>
                                &nbsp;</div>
                        <div>
                                --</div>
                        <div>
                                Regards,</div>
                        <div>
                                Sachin Divekar</div>
                        <div>
                                ----</div>
                        <div>
                                Cyrus Home Page: <a href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a></div>
                        <div>
                                List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a></div>
                </blockquote>
        </div>
</div>
<div>
        &nbsp;</div>
</div><div>-- </div>
<div>  Bron Gondwana</div>
<div>  <a href="mailto:brong@fastmail.fm">brong@fastmail.fm</a></div>
</body></html>