Package: pflogsumm
Version: 1.1.5-8
Severity: important
Tags: patch
X-Debbugs-Cc: st...@hkust.se

Dear Maintainer,

Pflogsumm reports zero mails on day 1-9 of every month

Stock debian postfix version

Patch:
--- /usr/sbin/pflogsumm.orig    2024-04-05 00:45:38.214914066 +0200
+++ /usr/sbin/pflogsumm 2024-04-05 00:45:44.710952673 +0200
@@ -1518,7 +1518,7 @@
     }
     my ($t_mday, $t_mon, $t_year) = (localtime($time))[3,4,5];

-    return sprintf("%s %2d", $monthNames[$t_mon], $t_mday), 
sprintf("%04d-%02d-%02d", $t_year+1900, $t_mon+1, $t_mday);
+    return sprintf("%s %02d", $monthNames[$t_mon], $t_mday), 
sprintf("%04d-%02d-%02d", $t_year+1900, $t_mon+1, $t_mday);
 }

 # if there's a real domain: uses that.  Otherwise uses the IP addr.



-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pflogsumm depends on:
ii  libdate-calc-perl  6.4-2
ii  perl               5.36.0-7+deb12u1

pflogsumm recommends no packages.

pflogsumm suggests no packages.

-- no debconf information

Reply via email to