Extensive MRTG Based Monitoring for MailScanner

About MailScanner

    MailScanner is a complete e-mail security system designed for use on e-mail gateways. It protects against viruses, and detects attacks against e-mail client packages (such as Outlook, Outlook Express, Eudora). It can also detect almost all unsolicited commercial e-mail (spam) passing through it and respond to all incidents in a wide variety of ways.

    More information on MailScanner can be found at

About mailscanner-mrtg

    mailscanner-mrtg provides configuration files, web pages, and related perl scripts for mrtg to monitor many aspects of your MailScanner machine. With it you will be able to monitor things like:

* Mail Relayed* Files in incoming queue
* Spam Identified* Files in outgoing queue
* Virii Caught* Memory (Ram) Used
* Copies of MTA Running* Load Average
* Copies of MailScanner Running          * CPU Utilization
* Disk Space Used in /var/spool* Disk Space Used in /
* Ip Traffic* Files in quarantine
* Space used in ramdisk* Spam and virus ratios

    Many items can be configured in mailscanner-mrtg by editing the /etc/MailScanner/mailscanner-mrtg.conf file.

    For most RedHat 9, 8.0, 7.3 and 7.2 machines no configuration should be necesary. Merely install mailscanner-mrtg and point your browser to http://yourserver/mailscanner-mrtg/

    You can see a demonstration of the MailScanner-MRTG graphs HERE.

NOTE: The graphs in the demonstration are static and don't update at all... This is just a snapshot of the way your page should look after installing.
NOTE2: Right now they're also a version behind.

Operating Systems

    The following OS's have been reported to work with the current or previous releases:

  • Red Hat 9 (RPM)
  • Red Hat 8.0 (RPM)
  • Red Hat 7.3 (RPM)
  • Red Hat 7.2 (RPM)
  • RedHat Advanced Server 2.1 (RPM)
  • Mandrake 9.0 (RPM)
  • SuSE 7.1 (TARBALL)
  • Slackware 8.0 (TARBALL)
  • Sun/Cobalt RaQ3 (TARBALL)
  • Sun/Cobalt RaQ4 (TARBALL)
  • Sun/Cobalt RaQXTR (TARBALL)
  • Sun/Cobalt RaQ550 (TARBALL)
  • Gentoo on Sparc (TARBALL)
  • Solaris on Sparc (TARBALL)
  • If you have successfully run mailscanner-mrtg on another OS/Distro please let me know so I can add it here! Thanks!


    mailscanner-mrtg requires these additional packages:
  • MailScanner version 4.0 or higher
  • MRTG version 2.9 or higher
  • perl version 5.005 or higher
  • Apache
  Version 0.07 removes the previous dependency on the sar program from the sysstat package, it also adds an optional dependency on the UCD or NET snmp packages (net-snmpd and net-snmp-utils or ucd-snmp and ucd-snmp-utils). You can configure MSMRTG not to complain if snmp isn't present, but some graphs will not work without it.

Downloads, etc.

    For more information or to download mailscanner-mrtg please see our Sourceforge Project Page.

Development Snapshots

    The snapshot page has now been removed. Development releases for testing purposes will now be published as unstable releases on the sourceforge site. This will enable us to have some idea of how many people have downloaded it, so that we can be reassured that it is actually being tested (or not, as the case may be).

Future Direction

    You can read our consulation document, setting forth some ideas for the future direction of this project, here. Logo