MailEnable & AWStats

Discussion, support and announcements for third party applications that work with MailEnable.
Post Reply
AlertServ
Posts: 30
Joined: Fri Oct 03, 2003 1:36 am
Contact:

Post by AlertServ »

paarlberg wrote:Any ideas on how to pull several months of log files using the new file?
Take the current MailEnable Data File and rename it to "mailenable.old" and in the awstats.mailenable.conf file, rem out the top line that is the log file format.

Then cut and paste this into a new batch file and run it. It will pull in all the log files from JAN 1, 2004 to MAY 31, 2004. You can modify the paths with the "replace" command in notepad and you can quickly make the file to do additional date with some minor tweaking.

I ran this just a few minutes ago on a server that does 65,000 - 70,000 messages per day and it took about 10 minutes.

Here is the code...

Code: Select all

e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040101.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040102.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040103.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040104.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040105.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040106.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040107.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040108.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040109.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040110.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040111.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040112.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040113.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040114.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040115.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040116.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040117.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040118.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040119.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040120.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040121.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040122.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040123.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040124.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040125.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040126.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040127.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040128.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040129.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040130.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040131.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040201.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040202.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040203.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040204.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040205.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040206.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040207.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040208.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040209.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040210.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040211.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040212.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040213.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040214.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040215.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040216.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040217.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040218.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040219.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040220.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040221.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040222.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040223.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040224.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040225.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040226.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040227.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040228.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040229.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040301.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040302.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040303.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040304.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040305.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040306.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040307.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040308.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040309.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040310.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040311.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040312.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040313.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040314.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040315.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040316.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040317.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040318.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040319.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040320.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040321.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040322.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040323.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040324.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040325.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040326.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040327.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040328.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040329.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040330.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040331.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040401.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040402.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040403.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040404.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040405.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040406.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040407.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040408.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040409.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040410.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040411.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040412.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040413.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040414.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040415.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040416.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040417.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040418.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040419.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040420.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040421.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040422.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040423.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040424.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040425.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040426.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040427.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040428.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040429.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040430.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040501.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040502.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040503.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040504.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040505.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040506.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040507.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040508.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040509.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040510.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040511.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040512.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040513.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040514.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040515.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040516.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040517.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040518.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040519.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040520.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040521.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040522.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040523.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040524.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040525.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040526.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040527.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040528.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040529.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040530.log | "
e:\Perl\bin\perl.exe awstats.pl config=mailenable -update -logfile="e:\awstats\tools\MELog2AWStats.exe E:\MailEnable\Logging\SMTP\ex040531.log | "
You can also download the batch file from here - http://www.alertserv.org/forum/forum_po ... PN=1&TPN=1
Alert Serv | Managed Windows Servers, Incident Support
Including Support for Mail Enable & Helm - http://www.AlertServ.com
------------------------------------------------------
Authorized Helm Reseller

Brett Rowbotham
Posts: 560
Joined: Mon Nov 03, 2003 7:48 am
Location: Cape Town

Reprocessing log files

Post by Brett Rowbotham »

This is the command I used on my Win2000 server to reprocess old log files (after renaming the existing files):

for %a in ("C:\Progra~1\MailEn~1\Logging\SMTP\ex0404*.log") do
awstats.pl -config=mailenable -update -logfile="C:\awstats\tools\MELog
2AWStats.exe %a | "

(This is all one line and will process all days for 2004 April (0404))

Note that the -logfile parameter is the same line as used in the awstats.???.conf file.

This command was run in the Awstats cgi-bin folder.

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

I get similar errors running this... which files do I need to rename or delete?

Setup ('./awstats.mailenable.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
This is the command I used on my Win2000 server to reprocess old log files (after renaming the existing files):

for %a in ("C:\Progra~1\MailEn~1\Logging\SMTP\ex0404*.log") do
awstats.pl -config=mailenable -update -logfile="C:\awstats\tools\MELog
2AWStats.exe %a | "

(This is all one line and will process all days for 2004 April (0404))

Note that the -logfile parameter is the same line as used in the awstats.???.conf file.

This command was run in the Awstats cgi-bin folder.

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

Found the problem... I used the batch file for all logs this year..

I had to change the path to the ME directory to an 8.3 standard...

C:\PROGRA~1\MAILEN~1

thanks for the info...

quantumMoose
Posts: 23
Joined: Tue May 11, 2004 9:33 am

Post by quantumMoose »

I cant seem to get the date in the required yyyy format, I can only get yy. Any ideas where to change this?

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

It appears to drop records after the end of a month. I had over 27000 e-mails on the 31st of last month (total for May) and I just looked and it shows 15526. I do updates every hours via a script.

Has anyone else seen this?

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

The dropped totals have just occurred again for June. Not sure if it is my config or not. Everything was fine until the last refresh (that i looked at).

It dropped the last day of the month this time. Will have to see if changes in a few days.

Can someone else confirm or deny this problem?

rvissers

problem

Post by rvissers »

I haven't had that problem, and I've been running for about 4 months now.

karlgram
Posts: 9
Joined: Fri Sep 26, 2003 6:13 pm

Post by karlgram »

It has been a while since my last post, but I've posted a new version of my MELogConvert application for AWStats. In this version I fixed the size handling of the emails. The application now uses cs-bytes instead of the sc-bytes property of the log file.

The download can be found here:
http://www.jekety.net/software/melogconvert.zip


Regards,
Karl

rvissers

sweet!

Post by rvissers »

Works great karlgram...thanks for the update!

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

The link appears to be broken... or is it me?

rvissers

works

Post by rvissers »

Works for me...try is again?

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

paarlberg wrote:The dropped totals have just occurred again for June. Not sure if it is my config or not. Everything was fine until the last refresh (that i looked at).

It dropped the last day of the month this time. Will have to see if changes in a few days.

Can someone else confirm or deny this problem?
It has just happened again for July, it now only shows the first 11 days of the month..

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg »

I have tried to download the updated zip file but has failed again.. I have tried from 3 servers on 3 continents.. can I be that crazy?

rvissers

again...

Post by rvissers »

I tried it again without any problems.

Post Reply