Package: munin-node
Version: 1.2.6-10~lenny2
Severity: normal
postfix_mailstats while parsing postfix log file assumes, that message moved to
active queue is a delivered.
This is not true.
The code from postfix_mailstats:
187 if ($line =~ /qmgr.*from=.*size=[0-9]*/)
188 {
189 $delivered++;
190 }
My log file fragment:
May 24 07:08:43 ecrprgw98 postfix/qmgr[1924]: 910971F57AC:
from=<my-from-address>, size=51173, nrcpt=1 (queue active)
May 24 07:08:50 ecrprgw98 postfix/smtp[26740]: 910971F57AC: to=<to-address>,
relay=mx.poczta.onet.pl[213.180.147.146]:25, conn_use=20, delay=7.2,
delays=0.11/4.1/1/2, dsn=4.7.1, status=deferred (host
mx.poczta.onet.pl[213.180.147.146] said: 450 4.7.1 <to-address>: Recipient
address rejected: Client address deferred by rule #CR-IN-DEF-1 #1 (in reply to
RCPT TO command))
May 24 07:13:57 ecrprgw98 postfix/qmgr[1924]: 910971F57AC:
from=<my-from-address>, size=51173, nrcpt=1 (queue active)
May 24 07:13:57 ecrprgw98 postfix/smtp[28040]: 910971F57AC: to=<to-address>,
relay=mx.poczta.onet.pl[213.180.147.146]:25, conn_use=5, delay=314,
delays=314/0/0.01/0.05, dsn=4.7.1, status=deferred (host
mx.poczta.onet.pl[213.180.147.146] said: 450 4.7.1 <to-address>: Recipient
address rejected: Client address deferred by rule #CR-IN-DEF-1 #1 (in reply to
RCPT TO command))
May 24 07:19:56 ecrprgw98 postfix/qmgr[1924]: 910971F57AC:
from=<my-from-address>, size=51173, nrcpt=1 (queue active)
May 24 07:19:56 ecrprgw98 postfix/smtp[29746]: 910971F57AC: to=<to-address>,
relay=mx.poczta.onet.pl[213.180.147.146]:25, conn_use=4, delay=673,
delays=673/0.35/0.01/0.09, dsn=4.7.1, status=deferred (host
mx.poczta.onet.pl[213.180.147.146] said: 450 4.7.1 <to-address>: Recipient
address rejected: Client address deferred by rule #CR-IN-DEF-1 #1 (in reply to
RCPT TO command))
May 24 07:31:59 ecrprgw98 postfix/qmgr[1924]: 910971F57AC:
from=<my-from-address>, size=51173, nrcpt=1 (queue active)
Despite the fact that the message was not delivered, postfix_mailstats would
count it more than once as delivered.
The right way would be to count lines containing /from=.*, status=sent .*/.
-- System Information:
Debian Release: 5.0.10
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages munin-node depends on:
ii adduser 3.110 add and remove users and groups
ii gawk 1:3.1.5.dfsg-4.1 GNU awk, a pattern scanning and pr
ii libnet-server-perl 0.97-1 An extensible, general perl server
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii procps 1:3.2.7-11 /proc file system utilities
Versions of packages munin-node recommends:
ii libnet-snmp-perl 5.2.0-1 Script SNMP connections
Versions of packages munin-node suggests:
pn ethtool <none> (no description available)
pn libdbd-pg-perl <none> (no description available)
pn liblwp-useragent-determined-p <none> (no description available)
pn libnet-irc-perl <none> (no description available)
pn libwww-perl <none> (no description available)
ii lm-sensors 1:3.1.2-6 utilities to read temperature/volt
pn munin <none> (no description available)
pn munin-plugins-extra <none> (no description available)
pn mysql-client <none> (no description available)
ii python 2.5.2-3 An interactive high-level object-o
pn smartmontools <none> (no description available)
-- Configuration Files:
/etc/munin/munin-node.conf changed [not included]
/etc/munin/plugin-conf.d/munin-node changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]