Cherrypick from master 2004-05-19 12:41:58 UTC Paweł Gołaszewski <blues@pld-linux.org> '- uncomment configuration':
mailgraph-postfix_rbl.patch -> 1.1
mailgraph.conf -> 1.5
--- /dev/null
+--- mailgraph.orig/mailgraph.pl Wed Jan 28 10:49:33 2004
++++ mailgraph/mailgraph.pl Wed Jan 28 10:49:22 2004
+@@ -426,6 +426,9 @@
+ $client =~ /\[127\.0\.0\.1\]$/;
+ event($time, 'received');
+ }
++ elsif($text =~ /\bblocked\b/) {
++ event($time, 'spam');
++ }
+ elsif($text =~ /^(?:[0-9A-F]+: |NOQUEUE: )?reject: /) {
+ event($time, 'rejected');
+ }
--- /dev/null
+########
+# Uncomment below line or define other mapping /usr/share/mailgraph to
+# server URL:
+########
+Alias /mailgraph /usr/share/mailgraph
+
+########
+# Tempate configuration for mailgraph mapping:
+# - specify is in /usr/share/mailgraph CGI scripts
+# and allow execute this.
+########
+<Directory /usr/share/mailgraph>
+# for execute CGI files
+ Options ExecCGI
+ AddHandler cgi-script .cgi
+
+ AllowOverride AuthConfig Limit
+
+# setting expiration pngfiles
+# make sure if Expires mod is enabled
+ ExpiresActive On
+ ExpiresByType image/png M5
+</Directory>