Download XMailStats v1.6 Here
XMailStats v1.6
http://xmail.eye-catcher.com/products/XMailStats/
XMail
http://www.xmailserver.org/
Created by: Richard Mayhew (richard at splash.co.za)
http://www.splash.co.za
Updated by: Shawn Anderson (sanderson@eye-catcher.com)
http://xmail.eye-catcher.com
Installation Document
This script produces statistics on XMails logs. They are not
intended to be detailed, yet, but it has been planned
for future releases. In the next release the output will be
refined, and HTML output will be available.
Send comments to richard@splash.co.za or sanderson@eye-catcher.com
Features:
- Incoming Mail (per Domain)
- Outgoing Mail (per Domain)
- POP3 Mail Checks (per Domain)
- POP3 Mail Checks (per User)
- Incoming Mail (per User)
- Incoming Mail (per Server)
- Mail Server Results
- Hourly Incoming Mail
- Hourly Outgoing Mail
# Usage examples:
# Create a stats report for 2002 in HTML format and save the result
# XMailStats.pl 2002 HTML
#
# Create a stats report for Dec 2002 in HTML format and save the result
# XMailStats.pl 200212 HTML
#
# Create a stats report for Dec 1 2002 in HTML format and save the result
# XMailStats.pl 20021201 HTML
#
# Create a stats report for today in HTML format and save the result using todays date
# XMailStats.pl td HTML
#
# Create a stats report for yesterday in HTML format and save the result using todays date
# XMailStats.pl yd HTML
#
# Create a stats report for the current month in HTML format and save the result using todays date
# XMailStats.pl month HTML
#
# Note: you can replace HTML with TEXT and an ASCII report will be created
---Scheduling the Daily Stats.
#UNIX
Add this in to your crontab for a daily digest of yesterdays mail stats.
1 0 * * * /path/to/scripts/XMailStats-Yesterday.pl | /bin/mail -s "XMail Stats" root@localhost.co.za > /dev/null 2>&1
#Windows NT
You'll need to look at the "AT" Service to do this.
(Send me a faq on this, and I'll include it in this readme....any takes?)
---
CHANGES
2001/08/23 - 1.6
Shawn Anderson Total rewrite of the output to support an external HTML template concept
2001/08/16 -1.5
Shawn Anderson Added ability to consolidate all of log files for a date range. For example if you specify 200101, all log files for Jan 1, 2001 will be consolidated. This will work for a year, year and month, or year and month and day
2001/08/15 - 1.4
Shawn Anderson Merged NT and UNIX version
- Added ability to determine current date
- Added HTML output
- Added ability to output to file
30-05-2001: V1.3
Stopped Duplication with new SMTP Log format
Added SMTP User Authentication Stats
Added Extra Stats (Mail Size, Log Lines Processed)
Corrected Mail Server Results Addition
04-05-2001: V1.2a
Corrected Yesterdays Stats Script. (Incorrect File Declaration)
Catered for XMail v0.70 SMTP Log Files for future Authentication Stats.
Corrected Stats Display Table.
26-04-2001: V1.2
Fixed Mail Server Results Bug (Incorrect Display & Addition of Server Results)
Added Hourly Totals For Incoming And Outgoing Mail.
Included Yesterdays Stats Script.
01-03-2001: V1.1
First Public Release