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.
47 lines
1.4 KiB
47 lines
1.4 KiB
Index: mailgraph.cgi |
|
--- mailgraph.cgi.orig 2007-08-29 11:06:01 +0200 |
|
+++ mailgraph.cgi 2007-08-29 19:05:41 +0200 |
|
@@ -160,7 +160,7 @@ |
|
<html> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
-<title>Mail statistics for $host</title> |
|
+<title>Postfix Mail statistics for $host</title> |
|
<meta http-equiv="Refresh" content="300" /> |
|
<meta http-equiv="Pragma" content="no-cache" /> |
|
<link rel="stylesheet" href="mailgraph.css" type="text/css" /> |
|
@@ -168,7 +168,7 @@ |
|
<body> |
|
HEADER |
|
|
|
- print "<h1>Mail statistics for $host</h1>\n"; |
|
+ print "<h1>Postfix Mail statistics for $host</h1>\n"; |
|
|
|
print "<ul id=\"jump\">\n"; |
|
for my $n (0..$#graphs) { |
|
@@ -183,13 +183,6 @@ |
|
} |
|
|
|
print <<FOOTER; |
|
-<hr/> |
|
-<table><tr><td> |
|
-<a href="http://mailgraph.schweikert.ch/">Mailgraph</a> $VERSION |
|
-by <a href="http://david.schweikert.ch/">David Schweikert</a></td> |
|
-<td align="right"> |
|
-<a href="http://oss.oetiker.ch/rrdtool/"><img src="http://oss.oetiker.ch/rrdtool/.pics/rrdtool.gif" alt="" width="120" height="34"/></a> |
|
-</td></tr></table> |
|
</body></html> |
|
FOOTER |
|
} |
|
Index: mailgraph.pl |
|
--- mailgraph.pl.orig 2007-08-29 11:06:01 +0200 |
|
+++ mailgraph.pl 2007-08-29 19:03:59 +0200 |
|
@@ -211,6 +211,8 @@ |
|
\s |
|
([-\w\.\@:]+) # host -- 6 |
|
\s+ |
|
+ <[^>]+> # OSSP fsl log level |
|
+ \s+ |
|
(?:\[LOG_[A-Z]+\]\s+)? # FreeBSD |
|
(.*) # text -- 7 |
|
$/x or do
|
|
|