MailEnable & AWStats
MailEnable & AWStats
Hi All,
I wrote a log converter that converts the MailEnable log into a AWStats compatible format. You can can add this to your awstats.mailenable.conf file int the cg-bin dir of AWstats. The only requirment is that you have the .NET framework 1.1 installed (since it's was built using c#).
If anyone is interested, let me know....
Regards,
Karl
I wrote a log converter that converts the MailEnable log into a AWStats compatible format. You can can add this to your awstats.mailenable.conf file int the cg-bin dir of AWstats. The only requirment is that you have the .NET framework 1.1 installed (since it's was built using c#).
If anyone is interested, let me know....
Regards,
Karl
It's downloadable from http://www.jekety.net/software/melogconvert.zip.
excused, I do not write well English
It compliments karlgram optimal job,
but I have some problem, they do not come generated statistics
Update for config "C:\Inetpub\wwwroot\quasar\cgi-bin\awstats.mailenable.conf"
With data in log file "c:\awstats\tools\melogconvert.exe C:\Progra~1\MailEn~1\Logging\SMTP\ex030929.log | "...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
I use:
- MailEnable Pro 1.116
- AWStats 5.9
you can help me !
thanks
It compliments karlgram optimal job,
but I have some problem, they do not come generated statistics
Update for config "C:\Inetpub\wwwroot\quasar\cgi-bin\awstats.mailenable.conf"
With data in log file "c:\awstats\tools\melogconvert.exe C:\Progra~1\MailEn~1\Logging\SMTP\ex030929.log | "...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
I use:
- MailEnable Pro 1.116
- AWStats 5.9
you can help me !
thanks
I've got the same situation, but have not had time to investigate this. I think MailEnable keeps a lock on the log file. This means the convertor is not able to access it until ME has released the file.
One way to solve this (and how I do it) is to schedule the awstats update after midnight to pick up the log file from the day before. You will then see that it properly reads the log. (You can also manually tell awstats to pick up an old log file).
One way to solve this (and how I do it) is to schedule the awstats update after midnight to pick up the log file from the day before. You will then see that it properly reads the log. (You can also manually tell awstats to pick up an old log file).
If you set it to run every day just after midnight, you might want to alter the configuration file that is included to subtract 24 hours from the current date/time. The config file in the archive has it at 3 hours previous.
I guess it would probably still work at 3 since it only looks at the date to identify the log file (as long as you ran it automatically sometime between midnight and 3am).... but technically it should be 24 =)
I guess it would probably still work at 3 since it only looks at the date to identify the log file (as long as you ran it automatically sometime between midnight and 3am).... but technically it should be 24 =)
Hi,
I have modified the log like from indicated you, but this e' the error that they give to me
C:\Inetpub\wwwroot\cgi-bin>awstats.pl -config=mailenable -update
Update for config "C:\Inetpub\wwwroot\cgi-bin\awstats.mailenable.conf"
With data in log file "c:\awstats\tools\melogconvert.exe C:\Progra~1\MailEn~1\Lo
gging\SMTP\ex030930.log | "...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 231
Found 0 dropped records,
Found 231 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
thanks
I have modified the log like from indicated you, but this e' the error that they give to me
C:\Inetpub\wwwroot\cgi-bin>awstats.pl -config=mailenable -update
Update for config "C:\Inetpub\wwwroot\cgi-bin\awstats.mailenable.conf"
With data in log file "c:\awstats\tools\melogconvert.exe C:\Progra~1\MailEn~1\Lo
gging\SMTP\ex030930.log | "...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 231
Found 0 dropped records,
Found 231 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
thanks
Corrupted records means the format is invalid.
Check the awstats.mailenable.conf file to see the format it's looking for, then check ME to make sure it's producing logs in that format. Keep in mind that any logs created prior to changing ME's configuration will still be in the old format and will fail.
Check the awstats.mailenable.conf file to see the format it's looking for, then check ME to make sure it's producing logs in that format. Keep in mind that any logs created prior to changing ME's configuration will still be in the old format and will fail.
Hi
For cassius:
after to have enable all the options of the log, i have cancelled all log files, i use a log cleaned up
For Karl:
if use
...ex%YY-3%MM-3%DD-3.log...
...ex%YY-4%...
...ex%YY-5%...
...ex%YY-6%...
i have this result
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualifed records
only if use ...ex%YY-24%MM-24%DD-24.log... i have this result
Jumped lines in file: 0
Parsed lines in file: 5715
Found 0 dropped records,
Found 5715 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
also using the new ver. "melogconvert.zip"
thanks for your time
Paolo
For cassius:
after to have enable all the options of the log, i have cancelled all log files, i use a log cleaned up
For Karl:
if use
...ex%YY-3%MM-3%DD-3.log...
...ex%YY-4%...
...ex%YY-5%...
...ex%YY-6%...
i have this result
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualifed records
only if use ...ex%YY-24%MM-24%DD-24.log... i have this result
Jumped lines in file: 0
Parsed lines in file: 5715
Found 0 dropped records,
Found 5715 corrupted records,
Found 0 old records,
Found 0 new qualifed records.
also using the new ver. "melogconvert.zip"
thanks for your time
Paolo