[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-19 Thread Wolfy
Hi Shawn,

It looks really good!
And the template html file should make it easy to make 'pretty'.

I have run into a couple of problems when running it thought (from the cmd 
propmpt, W2k and ActivePerl):
1) It only works after I manually create the output file and directory 
structure under $outputFilePath (eg: e:\maillogs\2002\12\index.html) and 
then specify the output file on the comand line (eg: XMailStats.pl 20021201 
HTML index.html).
Otherwise it would just output the html data to the screen.

2) The following tables contain no information:
Incomming Mail Per Domain, Incomming Mail Per User, Incomming Mail Per 
Hour, Outgoing Mail Per Domain, Outgoing Mail Per Hour, SMTP Relays
I'm not sure what I've overlooked to exclude the data from these fields - 
it gives me Miscelaneous Statistics info for both POP3 and SMTP so I expect 
it is reading both log files.

Regards,
Scott


At 10:39 PM 17/12/2002 -0500, you wrote:


Howdy all,  I hope Richard doesn't mind, but I have uploaded a newer
version of XMailStats.pl to xmail.eye-catcher.com at
http://xmail.eye-catcher.com/products/XMailStats/. It contains several
new enhancements include a template based HTML output file. Check it out
and let me know what you think

Shawn
http://xmail.eye-catcher.com

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-18 Thread Troy Rodriguez

Ok I am using same version as you but this is the output I get. Sorry
for the length:
C:\Documents and Settings\Administrator\My Documentsxmailstats.pl
20021218
Bareword found where operator expected at C:\Documents and
Settings\Administrato
r\My Documents\XMailStats.pl line 68, near my $tplDefaultHTML = d
  (Might be a runaway multi-line  string starting on line 64)
(Do you need to predeclare my?)
Backslash found where operator expected at C:\Documents and
Settings\Administrat
or\My Documents\XMailStats.pl line 68, near webhosting\
Backslash found where operator expected at C:\Documents and
Settings\Administrat
or\My Documents\XMailStats.pl line 68, near mailstats\
String found where operator expected at C:\Documents and
Settings\Administrator\
My Documents\XMailStats.pl line 75, near #my $outputType = 
  (Might be a runaway multi-line  string starting on line 68)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\Documents and
Settings\Administrato
r\My Documents\XMailStats.pl line 75, near #my $outputType = html
(Missing operator before html?)
String found where operator expected at C:\Documents and
Settings\Administrator\
My Documents\XMailStats.pl line 76, near #my $outputType = 
  (Might be a runaway multi-line  string starting on line 75)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\Documents and
Settings\Administrato
r\My Documents\XMailStats.pl line 76, near #my $outputType = TEXT
(Missing operator before TEXT?)
String found where operator expected at C:\Documents and
Settings\Administrator\
My Documents\XMailStats.pl line 87, near if ($requestLogFile eq 
  (Might be a runaway multi-line  string starting on line 76)
(Missing semicolon on previous line?)
Bareword found where operator expected at C:\Documents and
Settings\Administrato
r\My Documents\XMailStats.pl line 87, near if ($requestLogFile eq
month
(Do you need to predeclare if?)
String found where operator expected at C:\Documents and
Settings\Administrator\
My Documents\XMailStats.pl line 89, near $outputFilePath = sprintf(
  (Might be a runaway multi-line  string starting on line 87)
(Missing semicolon on previous line?)
Number found where operator expected at C:\Documents and
Settings\Administrator\
My Documents\XMailStats.pl line 93, near $outputFilePath =
sprintf(%s%04
  (Might be a runaway multi-line %% string starting on line 89)
(Missing operator before 04?)
syntax error at C:\Documents and Settings\Administrator\My
Documents\XMailStats.
pl line 68, near my $tplDefaultHTML = d
Unmatched right curly bracket at C:\Documents and
Settings\Administrator\My Docu
ments\XMailStats.pl line 121, at end of line
syntax error at C:\Documents and Settings\Administrator\My
Documents\XMailStats.
pl line 121, near }
Execution of C:\Documents and Settings\Administrator\My
Documents\XMailStats.pl
aborted due to compilation errors.

C:\Documents and Settings\Administrator\My Documents

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Wednesday, December 18, 2002 4:25 AM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


What version of ActiveState perl?  Can you send me the errors?  I am
currently using v5.6.1 built for MSWin32-x86-multi-thread.

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Troy Rodriguez
Sent: Wednesday, December 18, 2002 12:24 AM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6



When I try to run that script on my win2k box I get a lot of compilation
errors. I am using active perl.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrew Joakimsen
Sent: Tuesday, December 17, 2002 10:46 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


Yea, I didn't have xmail logging enabled, look at this please, do they
look correct?

Also when I run it as a cron it says it cant find xmailstats.html

http://admin.envisionstudio.net/xmailstats/2002.html

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 11:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


Did you edit the directory information in the perl script?

You need to edit the following lines:

my $logfiledir = e:/XMailRoot/logs;
my $outputFilePath =
e:/WebSites/global/wwwroot/controlpanel/xmailstats/;

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrew Joakimsen
Sent: Tuesday, December 17, 2002 11:03 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6



I've tried both versions and all I get are empty stats.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December

[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-18 Thread Andreas Hansson

When trying to generate a year report, the perl script allocated ~1 GB
memory and brought the system to a crawl. I only have 256 MB physical memory
in the system so it was swapping a lot. I used the command line:

F:\Inetpub\xMailRoot\statse:\perl\bin\perl xmailstats.pl 2002 HTML
2002.html

Generating reports for each of the months went fine. The total size of all
the log files is 52 megabytes so I don't really see why this has to use so
much memory.

Any suggestions?

Andreas



- Original Message -
From: Shawn Anderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 18, 2002 4:39 AM
Subject: [xmail] [ANNOUNCE] xmailstats v1.6



 Howdy all,  I hope Richard doesn't mind, but I have uploaded a newer
 version of XMailStats.pl to xmail.eye-catcher.com at
 http://xmail.eye-catcher.com/products/XMailStats/. It contains several
 new enhancements include a template based HTML output file. Check it out
 and let me know what you think


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-17 Thread Andrew Joakimsen

I've tried both versions and all I get are empty stats.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 10:39 PM
To: [EMAIL PROTECTED]
Subject: [xmail] [ANNOUNCE] xmailstats v1.6


Howdy all,  I hope Richard doesn't mind, but I have uploaded a newer
version of XMailStats.pl to xmail.eye-catcher.com at
http://xmail.eye-catcher.com/products/XMailStats/. It contains several
new enhancements include a template based HTML output file. Check it out
and let me know what you think

Shawn
http://xmail.eye-catcher.com

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-17 Thread Andrew Joakimsen

Yea, I didn't have xmail logging enabled, look at this please, do they
look correct?

Also when I run it as a cron it says it cant find xmailstats.html

http://admin.envisionstudio.net/xmailstats/2002.html

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 11:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


Did you edit the directory information in the perl script?

You need to edit the following lines:

my $logfiledir = e:/XMailRoot/logs;
my $outputFilePath =
e:/WebSites/global/wwwroot/controlpanel/xmailstats/;

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrew Joakimsen
Sent: Tuesday, December 17, 2002 11:03 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6



I've tried both versions and all I get are empty stats.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 10:39 PM
To: [EMAIL PROTECTED]
Subject: [xmail] [ANNOUNCE] xmailstats v1.6


Howdy all,  I hope Richard doesn't mind, but I have uploaded a newer
version of XMailStats.pl to xmail.eye-catcher.com at
http://xmail.eye-catcher.com/products/XMailStats/. It contains several
new enhancements include a template based HTML output file. Check it out
and let me know what you think

Shawn
http://xmail.eye-catcher.com

-
To unsubscribe from this list: send the line unsubscribe xmail in the
body of a message to [EMAIL PROTECTED] For general help: send the
line help in the body of a message to [EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in the
body of a message to [EMAIL PROTECTED] For general help: send the
line help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: [ANNOUNCE] xmailstats v1.6

2002-12-17 Thread Troy Rodriguez

When I try to run that script on my win2k box I get a lot of compilation
errors. I am using active perl.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrew Joakimsen
Sent: Tuesday, December 17, 2002 10:46 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


Yea, I didn't have xmail logging enabled, look at this please, do they
look correct?

Also when I run it as a cron it says it cant find xmailstats.html

http://admin.envisionstudio.net/xmailstats/2002.html

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 11:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6


Did you edit the directory information in the perl script?

You need to edit the following lines:

my $logfiledir = e:/XMailRoot/logs;
my $outputFilePath =
e:/WebSites/global/wwwroot/controlpanel/xmailstats/;

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Andrew Joakimsen
Sent: Tuesday, December 17, 2002 11:03 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: [ANNOUNCE] xmailstats v1.6



I've tried both versions and all I get are empty stats.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Shawn Anderson
Sent: Tuesday, December 17, 2002 10:39 PM
To: [EMAIL PROTECTED]
Subject: [xmail] [ANNOUNCE] xmailstats v1.6


Howdy all,  I hope Richard doesn't mind, but I have uploaded a newer
version of XMailStats.pl to xmail.eye-catcher.com at
http://xmail.eye-catcher.com/products/XMailStats/. It contains several
new enhancements include a template based HTML output file. Check it out
and let me know what you think

Shawn
http://xmail.eye-catcher.com

-
To unsubscribe from this list: send the line unsubscribe xmail in the
body of a message to [EMAIL PROTECTED] For general help: send the
line help in the body of a message to [EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in the
body of a message to [EMAIL PROTECTED] For general help: send the
line help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]