mharc-users

Re: Majordomo archive

2004-10-30 09:55:05
On October 30, 2004 at 15:37, Takanori Yoshikoshi wrote:

What is the file structure of majordomo archives?

Each posted email is saved as one file in the directory "xxxx.archive"
using -N option in the sendmail alias file as follows:

/usr/local/majordomo/wrapper sequencer -l xxxx -N -h "host" xxxx-going

The files are numbered as "1", "2", "3"... and there is the INDEX file
in the same directory.

Looks like you can use the mh-month-pack script provided in mharc
to import the message into the raw mbox area of your mharc archives.
See the manpage for mh-month-pack.  An HTML version of the manpage
should be provided in the mharc distribution, and it is also available
at <http://www.mhonarc.org/mharc/doc/bin/mh-month-pack.html>.

If you do not have MH or nmh installed (the script requires this), you
can use procmail's formail program to create a mbox file.  Something
like the following bash script should do:

  for i in `/bin/ls -1 [0-9]* | sort -g`; do formail < $i >> out.mbox; done

With the mbox file, you have multiple options for importing it into
your mharc archives.  You can either use the mbox-month-pack script or
other methods that have been mentioned on the list.  Just do a search
for "import" on the mharc-users archives for more information.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

<Prev in Thread] Current Thread [Next in Thread>