archivemail

Description

archivemail is a tool written in Python for archiving and compressing old email in mailboxes. It can move messages older than the specified number of days to a separate mbox format mailbox that is compressed with gzip, or optionally just delete old email.

Why should I use it?

Maybe some of your mailboxes are quite large (eg, over 10,000 messages) and they are taking a while to load in your mail reader. Perhaps they are taking up too much space on your disk. Archiving old messages to a separate, compressed mailbox will mean:
  1. Your mail reader will get a huge performance boost loading and reading your mail.
  2. You will be taking up less disk space, since old mail will be compressed. (Mail usually compresses quite nicely.)
  3. You won't be confronted with semi-obsolete mail all the time.

If you would prefer to just delete old email rather than archive it, archivemail can do that too.

Features

Documentation

Articles

License

This software is licensed under the GNU GPL. See the file COPYING for more information.

Requirements

archivemail requires python version 2.0 or later, with the optional zlib module, although the zlib module comes with most python installations. If you are compiling your own version of python less than version 2.2, make sure you uncomment the 'zlib' moduile in Modules/Setup in the python source directory.

You can check to see if your version of python has the 'zlib' module by trying this:

    flare:~$ python
    Python 2.1 (#1, Apr 26 2002, 11:22:45)
    [GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
    Type "copyright", "credits" or "license" for more information.
    >>> import zlib
    >>>
If you get an ImportError, then the zlib python module has not been installed. Try upgrading your python distribution.

Python is available from http://www.python.org/

If you want to run the bundled test script, you will need python version 2.1 or later, because we use the PyUnit unittest module. Sorry.

Download

archivemail can be downloaded from the archivemail download area on Sourceforge or via CVS. There is also a debian package.

Support

Credits

archivemail was written by Paul Rodger <paul at paulrodger dot com>


SourceForge.net Logo