mailagent - automatic mail processing tool

mailagent uses lex-like rules to match messages
and run rich set of commands. Mail can be stored
in mailboxes, forwarded, piped through external
applications, posted to newsgroups, checked for
duplicates, annotated, or deleted. Headers can be
pruned and digests burst. Additional commands can
be written in Perl.