mbox-month-pack - Copy mailbox messages into monthly mailbox files.


mbox-month-pack - Copy mailbox messages into monthly mailbox files.


  mbox-month-pack [options] folder ...


This program copies mailbox messages into monthly (or yearly if the -yearly option is specified) mailbox files. By default, monthly mailbox files are created with filenames of YYYY-MM format. If the -yearly option is specified, than messages will be split into yearly, YYYY, files. If a mailbox file already exists, messages will be appended to it.

This program is provided as part of mharc to provide the ability to import existing mailbox messages into mharc archives, or as a possible replacement for filter-spool for sites that have alternate methods for managing incoming mail.


Like -verbose, but prints much more.

Print out help message.

Print out the manpage.

-outdir directory
Directory to place mailbox files. If not specified, the current working directory is used.

Print status of what is going on.

Generate yearly-based mailbox files instead of monthly-based.


This program uses MHonArc's date parsing functions. Therefore, MHonArc must be installed on your system and the MHonArc libraries located within Perl's include path.



$Id: mbox-month-pack,v 1.4 2002/09/15 03:33:08 ehood Exp $


Earl Hood, earl@earlhood.com

This program is part of the mharc archiving system and comes with ABSOLUTELY NO WARRANTY and may be copied only under the terms of the GNU General Public License, which may be found in the mharc distribution.

 mbox-month-pack - Copy mailbox messages into monthly mailbox files.