channel-e information in an electronic age.

Groupwise Check Log File Parser

Background

We use Groupwise at work and we also use the check program, gwchk32. This is a utility that will produce statistics, reduce mailbox sizes, purge large messages etc. The functions that I find particularly useful are checking what proxy rights have been granted and checking for large messages (attachments actually).

Checking Granted Proxy Rights

In order to check the proxy rights that my (350) users have granted I need to run a verbose check. This results in a log file of about 26Mb. Searching a file this size for the lines detailing proxy rights is time consuming. Not only that the rights granted are given in an encoded form.

Checking for Large Messages

Our post office directory is approximately 20Gb. We've had Groupwise since April 1998. At first I attributed the size of the post office to old messages. In fact large messages take up a greater proportion of space. I regulary check for large messages and ask users to deal with them. (We have had users in the same office, who log in to the same server, mail large (100Mb+) attachments to each other when they are joint working!)

Operation

This is a very simple program that runs under a GUI. The interface is split into three sections. The first allows selection of an input log file. The second presents proxy and sort options (sort options not active yet). The last alows the results to be written to a file or to the display. The program generates a tree and uses JTree to display it.

Status

Still being actively developed, currently working on:

Implement message matching.
The check program reports on all mailboxes. Consequently, messages between users are included in the totals multiple times. This makes the total artificially high.
Sorting of the results.
Currently the accounts are displayed in the order that gwchk32 lists them. It would be useful to show them as largest total attachments first.
Automatic mailing of advisories.
I regularly check proxies granted and large message totals. I then mail users and ask them to fix the problems. It would be handy to mail directly from the application.

Released under the GNU General Public License. download

History

Version 0.5 changes the autodetection of the log file type. I needed to get total sizes of old messages. The log files for message age and size are very similiar. Internally the application handles the log file as if it were looking for large messages.

Version 0.4 adds autodetection of the log file type.

Version 0.3 was work to improve the user interface. The program now requires a GUI. (Previous versions would default to producing a list of proxy rights if run from a command line.)