You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
--- mailgraph.pl.orig Sun Jan 5 23:32:04 2003
|
|
|
|
|
+++ mailgraph.pl Fri May 30 16:26:07 2003
|
|
|
|
|
@@ -120,6 +120,8 @@
|
|
|
|
|
\s
|
|
|
|
|
([-\w\.]+) # host -- 6
|
|
|
|
|
\s+
|
|
|
|
|
+ <[^>]+> # OSSP fsl log level
|
|
|
|
|
+ \s+
|
|
|
|
|
(.*) # text -- 7
|
|
|
|
|
$/x or do
|
|
|
|
|
{
|
|
|
|
|
--- mailgraph.cgi.orig Tue Jan 20 13:01:36 2004
|
|
|
|
|
+++ mailgraph.cgi Tue Jan 20 13:02:07 2004
|
|
|
|
|
@@ -151,27 +151,17 @@
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
|
|
<HTML>
|
|
|
|
|
<HEAD>
|
|
|
|
|
-<TITLE>Mail Statistics for $host</TITLE>
|
|
|
|
|
+<TITLE>Postfix Mail Statistics for $host</TITLE>
|
|
|
|
|
</HEAD>
|
|
|
|
|
-<BODY BGCOLOR="#FFFFFF">
|
|
|
|
|
+<BODY BGCOLOR="#DDDDDD">
|
|
|
|
|
HEADER
|
|
|
|
|
|
|
|
|
|
- print "<H1>Mail Statistics for $host</H1>\n";
|
|
|
|
|
+ print "<H1>Postfix Mail Statistics for $host</H1>\n";
|
|
|
|
|
for my $n (0..$#graphs) {
|
|
|
|
|
print "<H2>$graphs[$n]{title}</H2>\n";
|
|
|
|
|
print "<P><IMG BORDER=\"0\" SRC=\"$scriptname/mailgraph_${n}.png\" ALT=\"mailgraph\">\n";
|
|
|
|
|
print "<P><IMG BORDER=\"0\" SRC=\"$scriptname/mailgraph_${n}_err.png\" ALT=\"mailgraph\">\n";
|
|
|
|
|
}
|
|
|
|
|
-
|
|
|
|
|
- print <<FOOTER;
|
|
|
|
|
-<table border="0" width="400"><tr><td align="left">
|
|
|
|
|
-<A href="http://people.ee.ethz.ch/~dws/software/mailgraph">Mailgraph</A> $VERSION
|
|
|
|
|
-by <A href="http://people.ee.ethz.ch/~dws/">David Schweikert</A></td>
|
|
|
|
|
-<td ALIGN="right">
|
|
|
|
|
-<a HREF="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/"><img border="0" src="http://people.ethz.ch/~oetiker/webtools/rrdtool/.pics/rrdtool.gif" alt="" width="120" height="34"></a>
|
|
|
|
|
-</td></tr></table>
|
|
|
|
|
-</BODY></HTML>
|
|
|
|
|
-FOOTER
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sub send_image($)
|