Archmbox is a simple email Archiver written in perl; it parses one or more mailboxes, selects some or all messages and then performs specific actions on the selected messages. At this time archmbox supports MBox and mbx mailbox formats.
Four different modes are available:
* list mode, which is useful to list all selected messages before archmbox performs the real operations (archiving or deleting) * kill mode, if messages should be deleted from the mailbox(es) rather than archived * archive mode, to archive the selected messages in a different mailbox * copy mode, to copy the selected messages from the source mailbox
Messages selection is based upon a date criteria; an absolute date or a days offset can be specified. It is also possible to refine the selection using regular expressions on the header fields of the message. All archived messages are stored in a new mailbox with the same name of the original one plus .archived as extension (this is the default, but can be changed); the archive mailbox can be saved in gz or bz2 compressed format as well.