Command: rebuild

  Format: rebuild <list>

Rebuilds a new database for the specified list from the contents of the old
one.  This is done automatically once every two weeks but can be forced if
corruption on the list is suspected.  It is also done automatically whenever
a new version of the software is installed that has different data structures
than the previous version (usually caused by the addition of new features).

The underlying database structure used by listmanager, which is a public
domain database library, has been known to become corrupted or otherwise lose
its integrity when crashes or other major failures occur.  Also, the database
system never reclaims space released by deleting records, so this operation
will make such space available to the filesystem for allocation to other files
if needed.

If you have selected the named list with the "select" command, listmanager
will close the list.  Subsequent operations will require that you re-issue
the "select" command.

Since part of the actual alias that points to the list is based on data
that may change as a result of the rebuild, successful rebuilds automatically
invoke the "newaliases" command.

This command is only available from the shell, i.e. you must be able to log
in to the machine which hosts mailing lists and access the "listmanager"
program from the command line.

See also: newaliases select
