Hi Georgi Yes /var/log/qmail/qmail-send/ directory exist and its permission is set …

Thursday, 28th March 2024

Comment on Installing qmailanalog and Generating daily qmail statistics with (qmail-stats.py) on Debian Lenny / Daily qmail statististics notification via email by Monjinul Mobin.

Hi Georgi

Yes /var/log/qmail/qmail-send/ directory exist and its permission is set as qmaill nofiles. qmail-stats.py also have same permission. Pleas help me.

Thanks

Monjinul Mobin Also Commented

Installing qmailanalog and Generating daily qmail statistics with (qmail-stats.py) on Debian Lenny / Daily qmail statististics notification via email
Hi Georgi,

Sorry it is actually working partially. Please see the below stats. It is only showing summary but not showing Top ten sender,receiver,Failures or Deferrals. Please help

Completed messages: 1397
Recipients for completed messages: 1645
Total delivery attempts for completed messages: 1646
Average delivery attempts per completed message: 1.17824
Bytes in completed messages: 407985081
Bytes weighted by success: 461962077
Average message qtime (s): 1.88326

Total delivery attempts: 1654
success: 1544
failure: 102
deferral: 8
Total ddelay (s): 1724.399932
Average ddelay per success (s): 1.116839
Total xdelay (s): 2421.575779
Average xdelay per delivery attempt (s): 1.464072
Time span (days): 0.0756242
Average concurrency: 0.370615

***************************************************************

Failures
—————-
sort: cannot read: +2: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
Reasons for failure

One line per reason for delivery failure. Information on each line:
* del is the number of deliveries that ended for this reason.
* xdelay is the total xdelay on those deliveries.

del xdelay reason

***************************************************************
Deferrals
—————-
sort: cannot read: +2: No such file or directory
awk: close failed on file /dev/stdout (Broken pipe)
Reasons for deferral

One line per reason for deferral. Information on each line:
* del is the number of deliveries that ended for this reason.
* xdelay is the total xdelay on those deliveries.

del xdelay reason

***************************************************************
Top Ten Senders
—————-
sort: cannot read: +7: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
* xdelay is the total xdelay incurred by this sender.
* tries is the number of delivery attempts (success, failure, deferral).
Senders
* sbytes is the number of bytes successfully received from this sender.
* recips is the number of recipients (success plus failure).
* rbytes is the number of bytes from this sender, weighted by recipient.
One line per sender. Information on each line:
* mess is the number of messages sent by this sender.
mess bytes sbytes rbytes recips tries xdelay sender
* bytes is the number of bytes sent by this sender.

***************************************************************
Top Ten Recipients
—————-
sort: cannot read: +4: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
* xdelay is the total xdelay incurred by this recipient.
* tries is the number of delivery attempts (success, failure, deferral).
* sbytes is the number of bytes successfully delivered to this recipient.
sbytes mess tries xdelay recipient
* mess is the number of messages sent to this recipient (success plus failure).
One line per recipient. Information on each line:
Recipients


Installing qmailanalog and Generating daily qmail statistics with (qmail-stats.py) on Debian Lenny / Daily qmail statististics notification via email
Hey There. I found your blog in google,your posts are extremely well written. Thanks for the post.

I have followed above instruction but when i run qmail-stats.py then getting below errors. Could you please help me.

File “/usr/local/bin/qmail-stats.py”, line 102, in
os.chdir( LOGFILE_PATH )
OSError: [Errno 13] Permission denied: ‘/var/log/qmail/qmail-send/’

in details

Failures
—————-
sort: cannot read: +2: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
Reasons for failure

One line per reason for delivery failure. Information on each line:
* del is the number of deliveries that ended for this reason.
* xdelay is the total xdelay on those deliveries.

del xdelay reason

***************************************************************
Deferrals
—————-
sort: cannot read: +2: No such file or directory
awk: close failed on file /dev/stdout (Broken pipe)
Reasons for deferral

One line per reason for deferral. Information on each line:
* del is the number of deliveries that ended for this reason.
* xdelay is the total xdelay on those deliveries.

del xdelay reason

***************************************************************
Top Ten Senders
—————-
sort: cannot read: +7: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
* xdelay is the total xdelay incurred by this sender.
* tries is the number of delivery attempts (success, failure, deferral).
Senders
* sbytes is the number of bytes successfully received from this sender.
* recips is the number of recipients (success plus failure).
* rbytes is the number of bytes from this sender, weighted by recipient.
One line per sender. Information on each line:
* mess is the number of messages sent by this sender.
mess bytes sbytes rbytes recips tries xdelay sender
* bytes is the number of bytes sent by this sender.

***************************************************************
Top Ten Recipients
—————-
sort: cannot read: +4: No such file or directory
awk: write failure (Broken pipe)
awk: close failed on file /dev/stdout (Broken pipe)
* xdelay is the total xdelay incurred by this recipient.
* tries is the number of delivery attempts (success, failure, deferral).
* sbytes is the number of bytes successfully delivered to this recipient.
sbytes mess tries xdelay recipient
* mess is the number of messages sent to this recipient (success plus failure).
One line per recipient. Information on each line:
Recipients


Share this on:

Comments are closed.