home contents changes options help subscribe edit

Check MailSystem for general information on list archives.

The format of your mail archive to import will greatly vary, so here is some general advice.

Public mailing lists

Log in to lists.gnu.org as user mharc.

You'll need an archive in one big mailbox. You probably can cat several mailboxes together if needed:

 cat 1.mbox 2.mbox >> mybig.mailbox

Split it monthly:

 ~mharc/bin/mbox-month-pack archive.mbox

Put the resulting mailboxes in ~mharc/mbox/.

If the mailman-maintained .mbox file will suffice (which it should, unless you are in some unusual situation), then the above can be reduced to:

 mkdir -m 755 ~mharc/mbox/$listname
 cd ~mharc/mbox/$listname
 ~mharc/bin/mbox-month-pack /var/lib/mailman/archives/private/$listname.mbox/$listname.mbox

In any case, you'll then need to regenerate the web archives:

 ~mharc/bin/web-archive -rebuild $listname >/tmp/out

If you skip "-rebuild", web-archive will run in incremental mode, i.e., what is used in the cron job. Rebuilding archives can be time-consuming (depending on how many years you have to import!). Best to redirect the output as shown above, or whatever.

Then you can check http://lists.nongnu.org/archive/html/$listname.

Private mailing lists

Mailman, for archives of private mailing lists, behaves differently. The command ~mailman/bin/arch --wipe will regenerate list archives from a given mbox file (in the standard mailman location by default).




subject:
  ( 13 subscribers )