Brian,
The pie chart is an overall view of what is happening with the mail server. It shows all smtp connections made to the server, the percentage of connections that result in deliverable mail and the percentage of rejections and the reasons. I can look at the chart and see straight away that 85% of all connections are rejected.
The Spam and AV analysis script serves a different but useful function. I must admit that I have hacked it and used it on non SME mail servers that are running qmail, spamassassin and clamav.
I can send you 40MB of logs covering around 24 hrs. Dont expect to find a virus amongst them though. There arn't any
pattern matching and RBL seems to take care of most of them.
You should look at using collapse_qpsmtpd_conn.pl to collapse the qpsmtpd log files. collapse_qpsmtpd_conn extracts commands and responses from qpsmtpd log files and prints a single line for each connection with the entire SMTP dialog. The output is intended to be easily filtered with grep or awk
I use it and pipe the results to the script that creates the chart.
You could use it to create a single log file with one line per connection/pid.
collapse_qpsmtpd_conn.pl /var/log/qpsmtpd/* > qpsmtpd.log
http://www.hjp.at/projekte/qpsmtpd/log-tools/Jon