2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
![]() |
| XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| BooT |
Posted: Jul 24 2003, 10:15 AM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
dfitch
How many Domains and how big was your logfiles? Great Work Igor... -------------------- ________________________________________________________________________________
--= 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---] |
| BooT |
Posted: Jul 24 2003, 10:24 AM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
Ok..so let us re-cap here:
- Add Auto Detection for all domains running on Xmail Server - Sort stats on a "Domain basis" Then via users in that domain. - Sort Stats Vie time... Yearly then Monthly Or maybe just monthly... But when we go to 2004.. How will it show up? - Sort order per month and per domain - Most Active user at the top...Working the way down for that month.... - Have the "Result" .html page sent to a "Mailaddress (Admin?) or to a folder (As it is Currently.. Or to both - Result's page should also be date stamped? Hope that help.. and hope all can be done.... Thanx Igor... Very Accurate... 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---] |
| dfitch |
Posted: Jul 24 2003, 04:50 PM
|
|
Advanced Member ![]() ![]() ![]() ![]() Group: Members Posts: 117 Member No.: 475 Joined: 28-February 03 |
Tested with 15 out of 25 domains.
Didnt check log size, I only have 300-500 messages per day coming through server. D |
| MayVortex |
Posted: Jul 24 2003, 09:23 PM
|
||
|
Script Guru ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 194 Member No.: 354 Joined: 13-November 02 |
thanks version 1.2 of MVXstat out http://mail.dinfo.ru/mvxstat.tar.gz in this version: - SORT by ALL fileld - Send log to - Add datastamp to log (Report23122003.html) - Domain split - Autodetec handled domains - 'Top X' (show only first X records in domain) - 'Scan from date' added In this version users.db and domain.db files format are changed - please delete the old ones, and generate new. Remember to remove users.db and domain.db every time U set (uncomment) 'Scan from date'. Log file with this date must be present! |
||
| dfitch |
Posted: Jul 25 2003, 03:22 AM
|
|
Advanced Member ![]() ![]() ![]() ![]() Group: Members Posts: 117 Member No.: 475 Joined: 28-February 03 |
HI,
Upgraded.... Deleted old users.db and domain.db files. It generated new report and sent to admin, all seems fine. except it didnt create a new user.db or domain.db Thanks D |
| MayVortex |
Posted: Jul 25 2003, 05:43 AM
|
||
|
Script Guru ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 194 Member No.: 354 Joined: 13-November 02 |
How do U start script: by hand: ./mvxstat.pl by hand2: perl /path/mvxstat.pl cron: perl /path/mvxstat.pl it may well be that it create them in another dir... |
||
| BooT |
Posted: Jul 25 2003, 10:28 AM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
WOW..Is all i can say again...
From "Good" to "Better" in a couple of days! The layout looks 100 % now and not so "All over the show" as it was last time... One Q i have here.... Seeing that this is all from the biginning of my logs till current... The Q i have is it possible to do this in a brakup vie month? Automaticaly? ie: Stats for January 2003 Domain: abc.com Malbox Size etc.. etc... user1 user2 user3 Domain: xyz.com Malbox Size etc.. etc... user1 user2 user3 Stats for Febuary 2003 Domain: abc.com Malbox Size etc.. etc... user1 user2 user3 Domain: xyz.com Malbox Size etc.. etc... user1 user2 user3 See what i mean? And then Continue with this format on a monthly basis by running a scheaduled task on the 1st of every month or any time inbetween ? by appending the data? Will this be possible? 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---] |
| BooT |
Posted: Jul 25 2003, 10:41 AM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
OK...I found something else....
Look at this: wfraser 1.215 (Kb) 1 216.705 017 (Mb) 884 216.706 232 (Mb) 885 I know this user personaly and believe me... He sent out more then ONE email (According to the stats) I phoned him and asked him about this..... And he did not send out only one email... Any Ideas? -------------------- ________________________________________________________________________________
--= 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---] |
| MayVortex |
Posted: Jul 25 2003, 03:14 PM
|
||
|
Script Guru ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 194 Member No.: 354 Joined: 13-November 02 |
Do U use $frd? (may be only 1 message per day?) may be only 1 success message (RCPT=OK, RECV=OK)... U can check this by hand (open log, and try to finde all messages of this user)... This from my log (daily report --- nata 5.453 777 (Mb) 537 5.865 426 (Mb) 232 11.319 203 (Mb) 769 --- |
||
| BooT |
Posted: Jul 26 2003, 07:41 AM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
My logs are from December 2002 till now.
I ran the Script with these settings: I deleted my doman.db,user.db and last file b4 i ran it.... # ============ Path Setup ===================== $pathtl = "/MailRoot/logs/"; #path to logs $mailroot = "/MailRoot"; #path to MailRoot $html_out = "/MailRoot/www/html/Report.html"; # HTML Output # ============ Misc Setup ===================== #Commented - disable #Uncommented - enable $send_to = 'user@domain.com'; # Send log (uncomment for enable) $server_ip = 'mail.domain.com'; # SMTP server IP address (no need if prev commented) #$frd = '20030724'; # Scan from date $top = 50; # show only 10 first for each domain #@domains = ('dinfo.ru','teledom.ru'); # Autodetec if commented $stamped = 1; # Report.html -> ReportDDMMYYYY.html # (0 or comment for desable) $sort_by = '-7n'; -------------------- ________________________________________________________________________________
--= 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---] |
| MayVortex |
Posted: Jul 26 2003, 01:49 PM
|
|
Script Guru ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 194 Member No.: 354 Joined: 13-November 02 |
MVXstat v1.23 prebuild 2 exist:
http://mail.dinfo.ru/mvxstat_1.23pre2.tar New in this version: - xfm included in MVXstat - xfm now can everithing that MVXstat can (datestamp, send to, sort, top x etc...): see setup sections inside... - MVXstat can generate mothly stat: uncomment and set $monthly = '200304', or run: "#./mvxstat.pl 200304" (don't forget delete files "last", "users.db", "domain.db") Defaults (just set-up PATHs): by default MVXstat: 1) Generate realtime MailDir stat (xfm) with sort by size 2) Generate FULL log stat with sort by total size 3) Write everything in Report.html |
| BooT |
Posted: Jul 27 2003, 01:06 PM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
I can not Download this file?
It is 0 kb in size???? 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---] |
| MayVortex |
Posted: Jul 27 2003, 01:27 PM
|
|
Script Guru ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 194 Member No.: 354 Joined: 13-November 02 |
Sorry, fixed.
|
| BooT |
Posted: Jul 27 2003, 01:29 PM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
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---] |
| BooT |
Posted: Jul 27 2003, 01:54 PM
|
|
Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 747 Member No.: 375 Joined: 29-November 02 |
Looks cool...Love the "Incorporated" Thing u did!
The Monthly thing... If i want Monthly stats i have to run the script everytime with this option in it? :$monthly = '200304' No way to do it like this? Incorporate it ....? Stats for January 2003 Domain: abc.com Malbox Size etc.. etc... user1 user2 user3 Domain: xyz.com Malbox Size etc.. etc... user1 user2 user3 Stats for Febuary 2003 Domain: abc.com Malbox Size etc.. etc... user1 user2 user3 Domain: xyz.com Malbox Size etc.. etc... user1 user2 user3 -------------------- ________________________________________________________________________________
--= 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---] |