Le, I am no expert, but after a few minutes of fiddling with it, I
discovered two things.  1)  The log file must be in a certain format, and 2)
it isn't near as nice as  analog for web servers.

Here is a script I wrote to display basic statistics (you may have to change
directories depending on where your files are located):

cat /var/log/maillog | awk '{$1="";$2="";$3="";$4="";$5="";print}' |
/usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zoverall

Basically I reformat the maillog via awk.  I then pass it to matchup, which
is the main executable with analog, I then pass the output to zoverall which
displays overall statistics.  You can replace zoverall with most of the
files in the bin directory.  Each one produces a different report.

There are two files in the analog doc dir that provide more documentation,
esp MATCHUP.

...Michael...




> -----Original Message-----
> From: root [mailto:root]On Behalf Of Le Van Chi
> Sent: Friday, November 03, 2000 3:06 AM
> To: [EMAIL PROTECTED]
> Subject: qmailanalog
> 
> 
> Dear all,
> 
> I tried to install qmailanalog on my Linux box but I really don't know
> how to use it.
> 
> Any one can give me some clues about it
> 

Reply via email to