<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 3/13/19 8:35 AM, Karl Pielorz wrote:<br>
    <blockquote type="cite"
      cite="mid:5AC2C75F332D66F7D06BEC11@[10.12.30.106]">
      <br>
      Hi,
      <br>
      <br>
      I have a Cyrus 2.5.12 server running under FreeBSD. The other day
      I found thousands of files in an old mailbox.
      <br>
      <br>
      The client can't see any of them - so I thought "Ok, I'll
      reconstruct the mailbox"
      <br>
      <br>
      Reconstruct runs, and returns instantly - but the client still
      can't see the files.
      <br>
      <br>
      As a last ditch "fix it or kill it" - I removed the cyrus.header
      and cyrus.index files from that folder.
      <br>
      <br>
      I expected reconstruct to rebuild them - based on the thousands of
      "xxxx." files in that folder - but it didn't. It just returns
      instantly, and no cyrus. files are created.
      <br>
      <br>
      The mailbox does exist (i.e. if I dump the mailbox database it is
      listed) - and clients can see the folder, just no messages in it.
      <br>
      <br>
      Any suggestion? - Is there any way to get reconstruct to be more
      chatty about what it's doing / not doing?
      <br>
      <br>
      Thanks,
      <br>
      <br>
      -Karl
      <br>
    </blockquote>
    <br>
    Karl,<br>
    It would help if you told us which flags/arguments you're running
    reconstruct with.  Also, deleting cyrus.header was probably not a
    good idea.  If you want to recreate cyrus.index, remove that and run
    reconstruct with the '-f' or '-x' flags, depending on the state of
    the mailbox.  The cyrus.header file doesn't hold state, it's used to
    distinguish Cyrus mailboxes from other directories.<br>
    <br>
    However, what's probably going on here is that you have "<code
      class="docutils literal"><span class="pre">expunge_mode:</span></code>
    delayed" set, and these hidden files are actually deleted/expunged,
    but 'expire' hasn't been run on the mailbox.<br>
    <br>
    Cheers,<br>
        -nic<br>
    <pre class="moz-signature" cols="72">-- 
Nic Bernstein                             <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight Inc.                              <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
6525 W Bluemound Rd., Ste 24              v. 414.272.4477
Milwaukee, Wisconsin  53213-4073          f. 414.290.0335
</pre>
  </body>
</html>