Written by: John Kirkland
Copyright (c) 2002-2004, John Kirkland
Jump to:
The following attributes are definable:
You can also see the output in action at:
Spamd Example:  Live Spamd Spam and Mail Stats
README | README File |
ChangeLog | ChangeLog |
graphdefanglib.pl | Calculation and graphing routines |
graphdefang.pl | Front-end perl script |
graphdefang-config-mimedefang-example | Example configuration file for use with mimedefang |
graphdefang-config-spamd-example | Example configuration file for use with spamd |
web/index.php | Very simple php file to display the resulting png files |
web/graphdefang.cgi | CGI that provides a functional web interface for using graphdefang. |
event/* | Syslog event configuration files. |
TODO | Prioritized list of next things to work on |
COPYING | Copy of the GPL |
2. Untar the graphdefang distribution into a directory from where it can run.
3. (for mimedefang only) Add md_log commands per the example mimedefang-filter (included with mimedefang-2.22+).
4. Create a file, graphdefang-config, from the examples included with the distribution. Set $DATAFILE and $OUTPUT_DIR in this file.
5. Copy web/index.php to the $OUTPUT_DIR web directory. Set $OUTPUT_DIR in this file.
6. Copy graphdefang.cgi to the $OUTPUT_DIR web directory. Configure perl cgi access for this directory and set $GRAPHDEFANGDIR in this file.
7. Run graphdefang.pl via cron. I run mine every 15 mins. You can also run adhoc graphdefang queries against the DB by hitting graphdefang.cgi with a web browser.