Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

QMail stats

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


szi at aibon

Aug 13, 1997, 10:19 PM

Post #1 of 16 (4671 views)
Permalink
QMail stats

Hi,

is it possible to tell QMail to create a monthly report about the
activity. I would like to know, how much mails are send through QMail
and how many errors occured during the last month. I have no access to
the system on which I installed the mail system, so it would be nice to
get the information by eMail, in order to know how the system works.

-- bis später...
- Sascha ---<~>=( http://www.ping.de/sites/aibon/ )=<~>---

() Free speech online
/\ http://www.eff.org/BlueRibbon/bluehtml.html


hanche at math

Aug 14, 1997, 12:49 AM

Post #2 of 16 (4546 views)
Permalink
Re: QMail stats [In reply to]

- Sascha Ziemann <szi [at] aibon>:
|---
| is it possible to tell QMail to create a monthly report about the
| activity.

No, but ...

| I would like to know, how much mails are send through QMail
| and how many errors occured during the last month. I have no access to
| the system on which I installed the mail system, so it would be nice to
| get the information by eMail, in order to know how the system works.

qmailanalog is your friend. Just set up a cron job to run the qmailanalog
scripts of your choice and mail you the result.

ftp://koobera.math.uic.edu/www/qmailanalog.html

- Harald


qmail at jonaspasche

Aug 6, 2002, 6:03 AM

Post #3 of 16 (4551 views)
Permalink
Re: Qmail Stats [In reply to]

Hi Vinay,

please turn off HTML when posting to a mailing list. Thanks.

> I need to find out what our qmail server is actually doing? ie msg/second
> delivery rates etc etc...
> it would be good to have these results presented graphically aswell.
>
> Ive got qmailanalog installed.

Good, you already found the solution.

> Ive tried parsing this thru tai64nfrac but i get the error message:
> [root [at] localhos qmail]# /usr/local/qmailanalog/bin/tai64nfrac <
> @400000003d4a4b3422f4b90c.s > test
> /usr/local/qmailanalog/bin/tai64nfrac: /bin: is a directory

Your tai64nfrac binary seems to be broken. Recompile with the original
source code from http://www.qmail.org/tai64nfrac.

Jonas


qmail at jonaspasche

Aug 6, 2002, 6:25 AM

Post #4 of 16 (4540 views)
Permalink
RE: Qmail Stats [In reply to]

Hi Vinay,

please post answers to the list instead sending them to me. Thanks.

> I think the problem may be that i havent compiled the code originally.

Well... ouch.

> How would I compile this?

Copy the tai64nfrac.c code from the post at http://qmail.org/tai64nfrac
into a file (start after the "Content-Disposition:" line; don't include
the last line which is only an end marker). Then do:

gcc -o tai64nfrac tai64nfrac.c

Jonas


Vinay.Mistry at haynet

Aug 6, 2002, 6:51 AM

Post #5 of 16 (4558 views)
Permalink
RE: Qmail Stats [In reply to]

Hi Jonas,
Thats great.
I got tai64nfrac.c to compile.
The next problem i face isto parse the output from tai64nfrac into matchup.

Ive typed:
#/usr/local/qmailanalog/bin/matchup < test

but i get the error:
matchup: fatal: unable to write fd 5: file descriptor not open

Can somebody tell me what im doing wrong.

Regards,
Vinay

-----Original Message-----
From: Jonas Pasche [mailto:qmail [at] jonaspasche]
Sent: 06 August 2002 14:25
To: qmail [at] list
Subject: RE: Qmail Stats


Hi Vinay,

please post answers to the list instead sending them to me. Thanks.

> I think the problem may be that i havent compiled the code originally.

Well... ouch.

> How would I compile this?

Copy the tai64nfrac.c code from the post at http://qmail.org/tai64nfrac
into a file (start after the "Content-Disposition:" line; don't include
the last line which is only an end marker). Then do:

gcc -o tai64nfrac tai64nfrac.c

Jonas


**********************************************************************
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster [at] haymarketgroup


Whilst every endeavour is taken to ensure that e-mails are free from
viruses, no liability can be accepted and the recipient is requested
to use their own virus checking software.

www.haymarketgroup.com
**********************************************************************


qmail at discworld

Aug 6, 2002, 7:58 AM

Post #6 of 16 (4549 views)
Permalink
Re: Qmail Stats [In reply to]

Vinay Mistry <Vinay.Mistry [at] haynet> wrote:
>
> Ive typed:
> #/usr/local/qmailanalog/bin/matchup < test
>
> but i get the error:
> matchup: fatal: unable to write fd 5: file descriptor not open
>
> Can somebody tell me what im doing wrong.

Sure: you're not reading the instructions. If the instructions included with
qmailanalong aren't clear enough, there are many examples of proper usage in
the qmail list archives; please read them.

Charles
--
---------------------------------------------------------------------------
Charles Cazabon <qmail [at] discworld>
GPL'ed software available at: http://www.qcc.ca/~charlesc/software/
Read http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html
---------------------------------------------------------------------------


alexstevens at graylight

Aug 6, 2002, 8:00 AM

Post #7 of 16 (4555 views)
Permalink
Re: Qmail Stats [In reply to]

On Tue, Aug 06, 2002 at 02:51:32PM +0100, Vinay Mistry wrote:
> Hi Jonas,
> Ive typed:
> #/usr/local/qmailanalog/bin/matchup < test
>
> but i get the error:
> matchup: fatal: unable to write fd 5: file descriptor not open
>
> Can somebody tell me what im doing wrong.

"man matchup"? Assuming the man files for qmailanalog are in that path.
You read the documentation that comes w/ qmailanalog, right?

--
__________________
alex [at] graylight
------------------

"Yeah, I'm drunk all right, and you're crazy. Tomorrow I'll
be sober, but you'll still be crazy for the rest of your life."
-W.C. Fields


Vinay.Mistry at haynet

Aug 6, 2002, 8:25 AM

Post #8 of 16 (4576 views)
Permalink
RE: Qmail Stats [In reply to]

Hi Charles,
So i assume you know what I am doing wrong.
I thought the point of the mailing list was to help fellow qmail users not
criticise them.

Thanx again for your reply.

Regards,
Vinay

-----Original Message-----
From: Charles Cazabon [mailto:qmail [at] discworld]
Sent: 06 August 2002 15:58
To: qmail [at] list
Subject: Re: Qmail Stats


Vinay Mistry <Vinay.Mistry [at] haynet> wrote:
>
> Ive typed:
> #/usr/local/qmailanalog/bin/matchup < test
>
> but i get the error:
> matchup: fatal: unable to write fd 5: file descriptor not open
>
> Can somebody tell me what im doing wrong.

Sure: you're not reading the instructions. If the instructions included
with
qmailanalong aren't clear enough, there are many examples of proper usage in
the qmail list archives; please read them.

Charles
--
---------------------------------------------------------------------------
Charles Cazabon <qmail [at] discworld>
GPL'ed software available at: http://www.qcc.ca/~charlesc/software/
Read http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html
---------------------------------------------------------------------------


**********************************************************************
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster [at] haymarketgroup


Whilst every endeavour is taken to ensure that e-mails are free from
viruses, no liability can be accepted and the recipient is requested
to use their own virus checking software.

www.haymarketgroup.com
**********************************************************************


Vinay.Mistry at haynet

Aug 6, 2002, 8:43 AM

Post #9 of 16 (4567 views)
Permalink
RE: Qmail Stats [In reply to]

Okay,
Ive typed the command:
#cat email-020806 | /usr/local/qmailanalog/bin/matchup > m-output-020806b 5>
pending.1

and its compiled okay.
then ive run it through zoverall using this:
#/usr/local/qmailanalog/bin/zoverall < m-output-020806b

i get the following error:

Total delivery attempts: 19170
success: 16653
failure: 110
deferral: 2407
Total ddelay (s): 0.000000
Average ddelay per success (s): 0.000000
Total xdelay (s): 0.000000
Average xdelay per delivery attempt (s): 0.000000
Time span (days): 0
awk: cmd. line:61: (FILENAME=- FNR=35972) fatal: division by zero attempted

Whats happening??


**********************************************************************
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster [at] haymarketgroup


Whilst every endeavour is taken to ensure that e-mails are free from
viruses, no liability can be accepted and the recipient is requested
to use their own virus checking software.

www.haymarketgroup.com
**********************************************************************


qmail at discworld

Aug 6, 2002, 9:01 AM

Post #10 of 16 (4556 views)
Permalink
Re: Qmail Stats [In reply to]

Vinay Mistry <Vinay.Mistry [at] haynet> wrote:
> So i assume you know what I am doing wrong.

I have some evidence that you're doing at least _one_ thing wrong. You may be
doing many more; we don't know.

> I thought the point of the mailing list was to help fellow qmail users not
> criticise them.

Ah, there's your second mistake -- it's neither of the above. According to
the list owner, the purpose of the list is to discuss "The qmail package, the
qmailanalog package, the dot-forward package, and the fastforward package."

Before you post to this list, you are expected to have read the instructions
and attempted to understand them, and to have looked for solutions in the list
archives. If you don't do /at least/ these things, you're wasting the time of
hundreds of qmail administrators -- and we get a little bit hostile when you
do that.

Charles
--
---------------------------------------------------------------------------
Charles Cazabon <qmail [at] discworld>
GPL'ed software available at: http://www.qcc.ca/~charlesc/software/
Read http://www.qcc.ca/~charlesc/writings/12-steps-to-qmail-list-bliss.html
---------------------------------------------------------------------------


pcg at ais

Aug 6, 2002, 9:03 AM

Post #11 of 16 (4574 views)
Permalink
Re: Qmail Stats [In reply to]

* Vinay Mistry <Vinay.Mistry [at] haynet> [020806 09:54]:
> Hi Charles,
> So i assume you know what I am doing wrong.

Perhaps he *did* know and saw this:

> **********************************************************************
> This e-mail and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> postmaster [at] haymarketgroup
>
>
> Whilst every endeavour is taken to ensure that e-mails are free from
> viruses, no liability can be accepted and the recipient is requested
> to use their own virus checking software.
>
> www.haymarketgroup.com
> **********************************************************************

and decided that you're just on your own, since your email was not addressed
directly to him.

> I thought the point of the mailing list was to help fellow qmail users not
> criticise them.

No, you wanted the qmail-warm-fuzzies-for-people-who-dont-read-documentation
list, down the hall on the left. Seriously, your question is answered in the
docs and has been discussed on this list numerous times. You *did* check the
archives before posting, didn't you? Or did you mistake this list for a
bunch of people who enjoy re-typing the documentation into emails? (We
don't.)

/pg
--
Peter Green : Architekton Internet Services, LLC : pcg [at] ais
-------------------------------------------------------------
".. I used to get in more fights with SCO than I did my girlfriend, but
now, thanks to Linux, she has more than happily accepted her place back at
number one antagonist in my life.. "
(Jason Stiefel, krypto [at] s30)


aho-djb-qmail at 03s

Aug 7, 2002, 12:46 AM

Post #12 of 16 (4553 views)
Permalink
Re: Qmail Stats [In reply to]

On Tue, Aug 06, 2002 at 04:43:15PM +0100, Vinay Mistry wrote:
> #cat email-020806 | /usr/local/qmailanalog/bin/matchup > m-output-020806b 5>
> pending.1
> [...]
> #/usr/local/qmailanalog/bin/zoverall < m-output-020806b
>
> i get the following error:
> [...]
> Total ddelay (s): 0.000000
> Average ddelay per success (s): 0.000000
> [...]
> Whats happening??

<http://marc.theaimsgroup.com/?l=qmail&m=101438668322754&w=2>

--
Adrian Ho Tinker, Drifter, Fixer, Bum aho-djb-qmail [at] 03s
ListArchive: <http://marc.theaimsgroup.com/?l=qmail>
Useful URLs: <http://cr.yp.to/qmail.html> <http://www.qmail.org>
<http://www.lifewithqmail.org/> <http://qmail.faqts.com/>


gaby at vanhegan

Nov 4, 2004, 9:57 AM

Post #13 of 16 (4557 views)
Permalink
Re: Qmail stats [In reply to]

On Wed, 3 Nov 2004, X-Istence wrote:

Danger. My server has broked... :(

I've spent the day recovering from a HD failure, so have had to setup my
qmail system again. Not too onerous, being that I've got everything
backed up, and on a local disk, but still a pain.

Everything is logging to /var/log/qmail/*, so I can still build my stats!

I like qmail but I hate installing it!

Gaby

--
Ha! Ha! Ha! Loins...
-Phil Ken Sebben

gaby [at] vanhegan
http://weblog.vanhegan.net


feh at fehcom

Apr 14, 2012, 7:39 AM

Post #14 of 16 (2907 views)
Permalink
Re: QMAil stats [In reply to]

Hi Robert,

you may have a look at my 'newanalyse' package.

It is highly customizable, requires qmailanaloge, perl and the Korn-shell.

regards.
--eh.


Am 14.04.2012 um 14:53 schrieb Robert Wolfe:

> Hi all. I run 2 qmail servers here that are load balanced and deliver mail to an exchange server in my network. What I would like to do is be able to run a report on both qmail servers and have those reports emailed to me giving me statistics on the qmail processes (total messages processed for the day both inbound and bound, etc). Is there a script or something that will do this very thing for me?
>
> Robert Wolfe rwolfe [at] fpsoft
> PADI Diver #1202016513
> MCSE/MCSA/MCITP/Server+/Net+/Linux+/LPIC
> Amherst, NY USA
> Web: http://www.fpsoft.net
> <image001.gif>
>

--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: 7E4034BE


rwolfe at fpsoft

Apr 14, 2012, 9:08 AM

Post #15 of 16 (2914 views)
Permalink
RE: QMAil stats [In reply to]

Do you have a URL for it?

-----Original Message-----
From: Erwin Hoffmann [mailto:feh [at] fehcom]
Sent: Saturday, April 14, 2012 10:40 AM
To: Robert Wolfe
Cc: qmail; qmail [at] list
Subject: Re: QMAil stats

Hi Robert,

you may have a look at my 'newanalyse' package.

It is highly customizable, requires qmailanaloge, perl and the
Korn-shell.

regards.
--eh.


Am 14.04.2012 um 14:53 schrieb Robert Wolfe:

> Hi all. I run 2 qmail servers here that are load balanced and deliver
mail to an exchange server in my network. What I would like to do is be
able to run a report on both qmail servers and have those reports
emailed to me giving me statistics on the qmail processes (total
messages processed for the day both inbound and bound, etc). Is there a
script or something that will do this very thing for me?
>
> Robert Wolfe rwolfe [at] fpsoft
> PADI Diver #1202016513
> MCSE/MCSA/MCITP/Server+/Net+/Linux+/LPIC
> Amherst, NY USA
> Web: http://www.fpsoft.net
> <image001.gif>
>

--
Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id:
7E4034BE


vadud3 at gmail

Apr 14, 2012, 12:47 PM

Post #16 of 16 (2909 views)
Permalink
Re: QMAil stats [In reply to]

On Sat, Apr 14, 2012 at 12:08 PM, Robert Wolfe <rwolfe [at] fpsoft> wrote:
> Do you have a URL for it?


http://lmgtfy.com/?q=newanalyse


>
> -----Original Message-----
> From: Erwin Hoffmann [mailto:feh [at] fehcom]
> Sent: Saturday, April 14, 2012 10:40 AM
> To: Robert Wolfe
> Cc: qmail; qmail [at] list
> Subject: Re: QMAil stats
>
> Hi Robert,
>
> you may have a look at my 'newanalyse' package.
>
> It is highly customizable, requires qmailanaloge, perl and the
> Korn-shell.
>
> regards.
> --eh.
>
>
> Am 14.04.2012 um 14:53 schrieb Robert Wolfe:
>
>> Hi all.  I run 2 qmail servers here that are load balanced and deliver
> mail to an exchange server in my network.  What I would like to do is be
> able to run a report on both qmail servers and have those reports
> emailed to me giving me statistics on the qmail processes (total
> messages processed for the day both inbound and bound, etc).  Is there a
> script or something that will do this very thing for me?
>>
>> Robert Wolfe rwolfe [at] fpsoft
>> PADI Diver #1202016513
>> MCSE/MCSA/MCITP/Server+/Net+/Linux+/LPIC
>> Amherst, NY USA
>> Web: http://www.fpsoft.net
>> <image001.gif>
>>
>
> --
> Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id:
> 7E4034BE
>
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.