XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Another Idea?

Reply to this topicStart new topicStart Poll

> Another Idea?, MailStats Script?
MayVortex
Posted: Jul 29 2003, 06:08 AM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



QUOTE ("BooT")

The Monthly thing...
If i want Monthly stats i have to run the script everytime with this option in it? :$monthly = '200304'


No, U can comment this out, and simply run script with param: ./mvxstat.pl 200304 or U can use script:

QUOTE ("BooT")

No way to do it like this? Incorporate it ....?


In the next version, after vacation wink.gif
PMEmail Poster
Top
MayVortex
Posted: Jul 29 2003, 06:12 AM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



script:

CODE

#!/usr/bin/perl
for ($i=1; $i<=12; $i++){
if ($i<10){$z='0'.$i;}
else {$z=$i;}
system("./mvxstat.pl 2003".$z);
}
PMEmail Poster
Top
BooT
Posted: Jul 29 2003, 02:58 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Yea...If u do it this way it just gives you a total...It does not subdevide it on a " per Month" basis....

I will wait till u get back from Vacation..... smile.gif


--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
MayVortex
Posted: Aug 27 2003, 06:05 AM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



I'm back, New version soon smile.gif
PMEmail Poster
Top
BooT
Posted: Sep 3 2003, 02:12 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Waiting Patiently.... smile.gif



--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
MayVortex
Posted: Sep 3 2003, 05:41 PM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



Done smile.gif
MVXstat v 1.24

+ Monthly stat...
For enable this mode U need:
1) ser $onlyxfm = 2 (if U do not do this, scrip do auto... smile.gif)
2) set $stamped = 1
3) set @monthrange ('from_month - to_month','year')
3.1) Firs value = from month - to month
3.2) Second value - year

http://mail.dinfo.ru/mvxstat-1.24.tar.gz
PMEmail Poster
Top
BooT
Posted: Sep 3 2003, 06:24 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Hi Vortex.... I just ran it on my server... some funny happanings???

Can i mail u the file it created?

Thanx



--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
MayVortex
Posted: Sep 3 2003, 06:54 PM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



Ye, and send me your setup section...

In this mode script generate files ReportYYYYMM.html for every month in your range.
PMEmail Poster
Top
KeithR
Posted: Sep 6 2003, 06:21 AM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 721
Joined: 6-September 03



Hi
Thanks for a great script - I have found 1 problem -

If I have 2 users as shown below, we don't get the correct results - The script appears to take the user name into account without the domain - I run 40 domains and have many users by the same name

bob@domainaaa.net
bob@domainbbb.net

many thanks
biggrin.gif
PMEmail Poster
Top
MayVortex
Posted: Sep 6 2003, 04:15 PM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



Thx for bug... trying to fix now wink.gif
PMEmail Poster
Top
BooT
Posted: Sep 6 2003, 08:50 PM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Is it not possible to have it all on one htm file in stead of one for each month?

Would be easier for referance....

dont u think?

Just an Idea....

smile.gif



--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
MayVortex
Posted: Sep 12 2003, 08:40 AM
Quote Post


Script Guru
*****

Group: Members
Posts: 194
Member No.: 354
Joined: 13-November 02



MVXStat v2.01 released

+ Fixed few bugs
+ Setup section now in separate file

http://mail.dinfo.ru/mvxstat-2.01.tar.gz
PMEmail Poster
Top
BooT
Posted: Sep 14 2003, 10:04 AM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Hi MayVortex

The bug with the multiple entries per month is still there...

I uploaded them to my site...you can have a look there if u still have the URL. Otherwise mail me pls....

-- Any way to Show which mail account/Mail address is an Alias and which one is not?
-- Any way to show all as ONE html file devided into Months?

Thanx


BooT



--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
BooT
Posted: Sep 14 2003, 10:10 AM
Quote Post


Guru
**********

Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02



Oh and by the way.... I like the new seperate "Setup" file... Works great!

Also make a folder under mailroot and copy your script and setup file in there...
Then when u run it the .DB files and "last" file is created in that folder... so if u run it again it is easy to delete them.... ( other then dropping everything in your mailroot folder...)
Just if someone wanted to know..... smile.gif

Folder structure looks like this ( mine at least....)

-MailRoot
|
-- !mvxstat
|
--1.24
|
--2.01




--------------------
________________________________________________________________________________

--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Top
sc4vengr
Posted: Sep 15 2003, 07:15 PM
Quote Post


Professional
*****

Group: Members
Posts: 206
Member No.: 461
Joined: 12-February 03



This script works fine MV, good job smile.gif

im only have a little problem with it;

domain1 = only 1 user -> user1@domain1
aliase = catchall -> user1@domain1

when i processes the log files, the scripts doesnt understand aliases to user1, the reports shows weird numbers such as:

054728@domain1
023411@domain1
123312@domain1

Anything can be done to solve this problem?

cheers

fred


--------------------
You + webcam - clothes - dignity = $
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Scripting Corner | Next Newest »

Reply to this topicStart new topicStart Poll