POLL: what should reconstruct -f do?
leena.heino at uta.fi
Sat Apr 23 04:09:10 EDT 2011
On 23.4.2011 2:07, Bron Gondwana wrote:
> The question came up from the following bug report:
> Where there were spool files on disk, but no meta data left.
> Reconstruct gave no information about the files on disk at
> I see 4 options, can I'd like some opinions on what people
> think reconstruct should do. Speak now(ish) or hold your
> 1) what we do now - require a cyrus.header in the directory
> or ignore it.
> 2) like (1) but warn about the directory with no cyrus.header
> 3) add the mailbox if there's a directory, don't require
> 4) like (3) - but check that there's at least one cyrus.* file
> OR at least one message file in the directory before
> creating the mailbox. (so an empty directory doesn't generate
> a bogus mailbox, and neither does one containing nothing that
> looks like it belongs in a mailbox)
I vote option 3. The option 4 is a secondary choice.
Leena Heino University of Tampere / Computer Centre
( liinu at uta.fi ) ( http://www.uta.fi/laitokset/tkk )
More information about the Cyrus-devel