These programs were written to handle my mailboxes (which get rather
large due to the number of mailing lists I am subscribed to).
- cvsmail
- Adds "links" to
the cvsweb.cgi script to FreeBSD commit messages, allowing easy inspection
of what has changed in a particular commit. Optionally, it can also
download the diffs themselves and include them in the email.
- de-dupe
- Removes duplicate messages
from a mailbox (only checks the Message-ID: header, so it isn't
perfect).
- mail-append
- Append standard
input to the specified mailbox, after locking the mailbox.
- mail-ls
- List all of the files in
~/mail (or another specified directory), along with their type and
size. Lists the total size of maildir mailboxes and mbox mailboxes, so
it's not as simple as just running an ls -lR or du
command.
- mail-split
- Split a mailbox
into individual message files.
- mail-strip
- Remove a lot of
headers from mailboxes, such as all those Received: headers which are
rarely needed, greatly reducing said mailbox's size.
- newmail
- Checks for unread mail in
all your mailboxes (under ~/mail or wherever).
- rotatemail
- Archives a mailbox in
a separate folder, with a filename based on the date, and compresses it,
when it has reached a certain size (I use 1MB). Requires de-dupe,
mail-strip and newmail to run (unless you edit it to not use those, or
use your own if you have written equivalents).
- strip-prefix
- Strips any subject
prefix (e.g. [listname]) from the subject header, and appends the message
to the specified mailbox.
Note: these programs were originally written to work
with Un*x mbox style mailboxes. However, since then I have started
using maildir format mailboxes for some things, so these programs
should handle those correctly too. MH format mailboxes are
not supported.
Note 2: all these programs were written for my
own use, and may not work well/properly/at all in other people's
situations. All feedback is welcome, however.
The C programs will need misc.h and
misc.c as well.
You can also download all the programs in a
tarball, or get a patch from one
version to the next.
| Comments |
|---|
No comments have been posted yet.
|
|