Your message dated Sat, 24 May 2025 10:14:05 +0200
with message-id <00cc4ee7-48eb-44c2-8d43-34789a513...@lintilla.lan>
and subject line old report - no log sample
has caused the Debian Bug report #1040006,
regarding pflogsumm: fails to count sent emails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1040006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040006
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pflogsumm
Version: 1.1.5-7
Severity: normal

Dear maintainer,

I use pflogsumm on a Bullseye system, to analyze Postfix 3.5.17 logs. It is possible my setup has some oddities, but while pflogsumm is globally working, it fails to count sent emails:

$ pflogsumm my_log_file
[...]
0   sending hosts/domains
[...]
Host/Domain Summary: Messages Received
---------------------------------------
 msg cnt   bytes   host/domain
 -------- -------  -----------

Senders by message count: none
[...]
Senders by message size: none
[...]

A friend of mine suggested a very small change in pflogsumm, which seems to make it working properly. Here si the diff before and after the fix:

804c805,806
<           if($rcvdMsg{$qid}) {
---
>           if($rcvdMsg{$qid} == '') {



But it si still not perfect, because now errors are printed before the actual report:

Argument "" isn't numeric in numeric eq (==) at /usr/local/sbin/pflogsumm line 806, <> line 56. Use of uninitialized value within %rcvdMsg in numeric eq (==) at /usr/local/sbin/pflogsumm line 806, <> line 56. [...] Use of uninitialized value $domAddr in hash element at /usr/local/sbin/pflogsumm line 814, <> line 1272. [...] Use of uninitialized value within %rcvdMsg in numeric eq (==) at /usr/local/sbin/pflogsumm line 806, <> line 1294.


Hope this help.

Regards,
Yvan

--- End Message ---
--- Begin Message ---
Closing, references outdated postfix and Debian releases
and reporter never got back with a log sample.

--- End Message ---

Reply via email to