Yasma (Yet Another Sendmail Logfile Analyzer) is a reporting tool for sendmail log files. It provides a nice overview of your mail traffic like: messages transferred, some average values, top lists of messages sent, received, rejected, etc., and top lists of supposed spammers, status messages, relay hosts, and mailers. It analyzes one or more log files from the command line and writes an HTML report. For security, it can hide the user part of mail addresses listed in the report. A GeoIP database can be used to show country information.
Cgictrl is a CGI framework for Ruby. It allows you to use the structure of a mainframe program (like on IBM's CICS) with CGI. Programs are selected by transaction codes, and the CGI program indicates the next transaction code to continue the conversation process. Basically, one CGI program sends only one kind of view, and processes input data from only this view. Each program can store internal data in a SPA (Scratch Pad Area) on the server, which is allocated uniquely per session.