#1129958 pflogsumm: Postfix logs days in month < 10 with leading zeroes, pflogsumm expects space padding #2

Package:
pflogsumm
Source:
pflogsumm
Submitter:
Christian Weiske
Date:
2026-03-09 14:13:03 UTC
Severity:
normal
Tags:
#1129958#5
Date:
2026-03-06 16:14:05 UTC
From:
To:
Dear Maintainer,

pflogsumm does not work on my Debian 13 server
with postfix 3.10.5-1~deb13u1.

The reason is already described in bug #1068425.

The new pflogsumm version is only available in testing
and unstable, but not in the stable Debian version
- although the new postfix version that uses zero-padded days
is already in the stable distribution.

Please make the package work again in Debian stable.

#1129958#10
Date:
2026-03-06 16:55:49 UTC
From:
To:
On Fri, Mar 06, 2026 at 05:14:05PM +0100, Christian Weiske wrote:

Hello Christian,

As far as I remember that case only happens if you configure
postfix to write to the logfiles itself via "maillog_file" directly.
With the Debian default setup of writing out logs via rsyslog to /var/log/mail.log
it should've a timestamp format compatible even with old pflogsumm versions.

As long as it's not broken in the default setup I'm not sure if
fixing that is worth it. Since pflogsumm is an arch:all package
you could grab the .deb from unstable and dpkg -i it wherever required.

Sven

#1129958#15
Date:
2026-03-09 06:37:44 UTC
From:
To:
Hello Sven,

Yes, I did that.

I'll try that.

#1129958#20
Date:
2026-03-09 09:13:47 UTC
From:
To:
On Mon, Mar 09, 2026 at 07:37:44AM +0100, Christian Weiske wrote:

Hello Christian,
if you'd like to always fetch the latest release form unstable:

$ cat /etc/apt/sources.list.d/unstable.sources
Types: deb
URIs: http://deb.debian.org/debian
Suites: unstable
Components: main
#This will work with apt 3.1 or later:
#Include: pflogsumm
Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp

$ cat /etc/apt/preferences.d/pflogsumm-unstable.pref
Package: pflogsumm
Pin: release a=unstable
Pin-Priority: 950

Package: *
Pin: release a=unstable
Pin-Priority: 50


I also wrote that down as a small post in
https://sven.stormbind.net/blog/posts/deb_pflogsumm_latest_on_trixie/
for future reference.

HTH,
Sven

#1129958#25
Date:
2026-03-09 10:16:20 UTC
From:
To:
Hi Sven,

What a service! Thank you, that worked fine.