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.
-debug
-verbose
, but prints much more.
-help
-man
-outdir
directory-verbose
-yearly
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.
prompt> mbox-month-pack mail.mbx prompt> mbox-month-pack mail.mbx
The resulting monthly mailbox files will contain two of each message.
Appending to pre-existing gzipped monthly, and yearly, mailbox files are not recognized when splitting input. If you want output to be appended to existing compressed mailboxes, you must uncompress them first before invoking this program.
$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. |