Announce: MailScanner-Console-0.1

Steve Freegard steve.freegard at LBSLTD.CO.UK
Sat Jun 14 21:54:29 IST 2003

Hi Ryan,

>> Suggested Name: MailWatch for MailScanner

I knew someone would be able to come up with a better name! - thanks for
this, it will be known as 'MailWatch for MailScanner' from the next version

>> I have installed this app and it looks very impressive.

Thanks ;-))

>> Are we going to use this list for "debugging" this application...

As long as Julian and others don't mind?? - if not then feel free to email
me direct to either this address or the address at the top of each source

Responses to your points:

1) The jpgraph directory and index.php files are symbolic links to
jpgraph-1.12.1 and status.php respectivly - maybe your version of tar didn't
preserve them? - did you extract then using 'tar -zxvf'?

2) The sophos status screen just runs Julian's sophos-wrapper script and
pipes the output to an awk script which htmlizes the output - have a look in
sophos_status.php - you may need to alter the paths depending on your setup.
I'll come up with a better method in the next release.

3) Not sure on this one - can you be more specific? If you can mail me the
file 'images/cache/top_receipient_by_volume.png' so I can see it would be
even more helpful.

4) I forgot to mention in the INSTALL docs that you need to make sure that
'Detailed Spam Report = yes' is set in MailScanner.conf otherwise the
matching rules don't get written to the database.  You can also (optionally)
set 'Include Scores in SpamAssassin Report = yes'.

There are also a couple of other things I've noticed myself since posting
the release:

- I didn't mention in the documentation that to get the detailed description
of the matching SA rules in the Message Detail screen you need to run
'Update SpamAssassin Rule Descriptions' from the 'Other' menu.

- There was a typo in reports.php for 'Total Mail by Date', you'll need to
correct the link to get this to work.

>> Thanks for taking the time to put this together for us all.

No problem - thank you for the kind words and the recommendation :-)

Kind regards,

Steve Freegard
Systems Manager
Littlehampton Book Services Ltd.

-----Original Message-----
From: Ryan Pitt
Sent: 13/06/03 19:34
Subject: Re: Announce: MailScanner-Console-0.1

Suggested Name: MailWatch for MailScanner

but thats just off the top of my head.

I have installed this app and it looks very impressive.  It is obviously
early days yet as there are a few bugs that we have found.
Are we going to use this list for "debugging" this application or do you
have something else in mind.
Here are a few:
1.  The jpgraph-1.12.1 folder needs to be renamed in the distribution to
just jpgraph as a few reports are looking for this folder.
2.  Sophos status doesnt seem to come up with anything at all for me.
Maybe I am missing something here.
3.  Top Recipients by Volume  report seems to have something funky going
on with the graph.
4.  SpamAssassin Rule Hits also doesnt seem to be returning any values
for me.

Thats about all for now.
Thanks for taking the time to put this together for us all.  I recommend
this application to those that are interested in seeing the output from
MailScanner etc in a graphical form. Very useful information.

Ryan Pitt

Steve Freegard wrote:

Hi All,

I've written a web based front-end to MailScanner using a modified
&SQLLogging routine, PHP, MySQL and JpGraph.

Current features:
 ** Recent messages - displays a highlighted view of the last 50
messages processed by MailScanner and allows you to drill-down for
detailed information on each message.
 ** Reporting - allow you to create filtered HTML reports with graphs
(using JpGraph).
 ** Tools - allows you to view the MailScanner.conf file and associated
rules, displays Sophos information such as version/loaded IDE's

This is the first time I've ever released any code - it's functional -
but not pretty.  It should work well for those people who hate trawling
through /var/log/maillog and want a quick overview of what their mail
gateway is doing, and is also good for when you have a Helpdesk manned
by people you don't want logging into you mail gateway but still need
access to view stuff (as in my case).

It probably won't be any good for the people with high throughput of
messages, as the customised SQLLogging routine logs to the database in
real-time, so might slow your gateway down (although I'd be interested
if someone could benchmark it).

Also if anyone can come up with a better name - please do....

Further info, download and screenshots at

Kind regards,

Steve Freegard
Systems Manager
Littlehampton Book Services Ltd.
Tel: +44 (0)1903 82 8594
Fax: +44 (0)1903 82 8620

This message has been scanned for viruses and dangerous content by
and is believed to be clean.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.

This footnote also confirms that this email message has been swept by
MailScanner ( for the presence of computer viruses.

More information about the MailScanner mailing list