feed for update notifications.]
+rel-1.2.1 20260422
+
+ This release begins the next Beta cycle following the 1.2.0 Production
+ release.
+
+ Minor reject messages improvement: Now includes client domain or IP
+ address in "Sender address rejected..." reports and --rej-add-to will
+ add the intended destination address.
+
+rel-1.2.0 20260422
+
+ This release promotes 1.1.15 from Beta to Production status; no code
+ changes have been made since that version.
+
+ The changes since 1.1.6, the last Production release, are substantive,
+ including:
+
+ - Config-file support
+ - Enhanced TLS reporting
+ - Improved parsing accuracy
+ - Codebase refactoring for improved maintainability and robustness
+ - Numerous usability improvements
+
+ The only other difference with this release is the addition of a
+ LICENSE file.
+
rel-1.1.15 20260313
Breaking Changes
Added --ssl-tls-stats to report
- • SMTP TLS stats
- • SMTPD TLS/SSL errors
+ - SMTP TLS stats
+ - SMTPD TLS/SSL errors
by remote host.
Several reports (messages expired, deferrals, others) now list only
FQDNs, rather than FQDNs and associated IP addresses, for reduced noise.
- Major refactoring—eliminating no-op branches, duplicated code,
+ Major refactoring--eliminating no-op branches, duplicated code,
questionable logic, and streamlining many regular expressions.
Extensive regression testing revealed no change in report output
beyond what's noted above.
I *suspect* that, with an earlier fix I applied, that undefined
value will no longer occur, but this fix certainly won't hurt
- anything—just in case.
+ anything--just in case.
Added -srs-mung option. Thanks and a tip o' the hat to Tom Hendrikx
(tom-at-whyscreem-dot-net) for the contribution.
Now matches "traditional" log date strings with either leading space
or leading zero on single-digit days. (Debian bug report 1068425)
- Improvement to "unprocessed" debugging code—used for maintenance only.
+ Improvement to "unprocessed" debugging code--used for maintenance only.
rel-1.1.5 20120205
--- /dev/null
+
+ LICENSE
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You may have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ USA.
+
+ An on-line copy of the GNU General Public License can be found
+ http://www.fsf.org/copyleft/gpl.html.
+
.\" ========================================================================
.\"
.IX Title "PFFROMBYTO 1"
-.TH PFFROMBYTO 1 2025-05-22 1.1.15 "User Contributed Perl Documentation"
+.TH PFFROMBYTO 1 2025-05-22 1.2.1 "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
pflogsumm - Produce Postfix MTA logfile summary
-Copyright (C) 1998-2025 by James S. Seymour, Release 1.1.15
+Copyright (C) 1998-2026 by James S. Seymour, Release 1.2.1
=head1 SYNOPSIS
pflogsumm [--config <file>] [--bounce-detail <cnt>] [--colwidth <n>]
my $haveConfigSimple = $@ ? 0 : 1;
my $mailqCmd = "mailq";
-my $release = "1.1.15";
+my $release = "1.2.1";
# Used for regression testing, so new features can be selectively
# disabled.
if($rejReas =~ m/^Sender address rejected:/) {
# Sender address rejected: Domain not found
# Sender address rejected: need fully-qualified address
- my $rejData = $from;
- $rejData .= " ($to)" if($opts{'rej-add-to'} && $to);
+ my $rejData;
+ $rejData = gimme_domain($rejFrom) if $rejFrom;
+ if($opts{'rej-add-to'}) {
+ $rejData .= " ($from -> $to)" if($opts{'rej-add-to'} && $to);
+ } else {
+ $rejData .= " (<$from)";
+ }
++$rejects->{$rejTyp}{$rejReas}{$rejData};
} elsif($rejReas =~ m/^(Recipient address rejected:|User unknown( |$))/) {
# Recipient address rejected: Domain not found
.\" ========================================================================
.\"
.IX Title "PFLOGSUMM 1"
-.TH PFLOGSUMM 1 2026-03-13 1.1.15 "User Contributed Perl Documentation"
+.TH PFLOGSUMM 1 2026-04-22 1.2.1 "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.SH NAME
pflogsumm \- Produce Postfix MTA logfile summary
.PP
-Copyright (C) 1998\-2025 by James S. Seymour, Release 1.1.15
+Copyright (C) 1998\-2026 by James S. Seymour, Release 1.2.1
.SH "SYNOPSIS pflogsumm [\-\-config <file>] [\-\-bounce\-detail <cnt>] [\-\-colwidth <n>] [\-d|\-\-date\-range <date [range]>] [\-\-deferral\-detail <cnt>] [\-\-detail <cnt>] [\-\-dow0mon] [\-e|\-\-extended\-detail] [\-\-expired\-detail <cnt>] [\-h|\-\-host\-cnt <cnt>] [\-i|\-\-ignore\-case] [\-\-iso\-date\-time] [\-m|\-\-uucp\-mung] [\-\-mailq] [\-\-no\-no\-msg\-size] [\-\-problems\-first] [\-\-pscrn\-detail <cnt>] [\-\-pscrn\-stats] [\-q|\-\-quiet] [\-\-rej\-add\-from] [\-\-rej\-add\-to] [\-\-reject\-detail <cnt>] [\-\-smtpd\-stats] [\-\-srs\-mung] [\-\-ssl\-tls\-stats] [\-\-syslog\-name <string>] [\-u|\-\-user\-cnt <cnt>] [\-\-unprocd\-file <filename>] [\-\-use\-orig\-to] [\-\-verbose\-msg\-detail] [\-\-verp\-mung [n]] [\-\-warning\-detail <cnt>] [\-x|\-\-debug <file>] [\-\-zero\-fill] [file1 [filen]]"
.IX Header "SYNOPSIS pflogsumm [--config <file>] [--bounce-detail <cnt>] [--colwidth <n>] [-d|--date-range <date [range]>] [--deferral-detail <cnt>] [--detail <cnt>] [--dow0mon] [-e|--extended-detail] [--expired-detail <cnt>] [-h|--host-cnt <cnt>] [-i|--ignore-case] [--iso-date-time] [-m|--uucp-mung] [--mailq] [--no-no-msg-size] [--problems-first] [--pscrn-detail <cnt>] [--pscrn-stats] [-q|--quiet] [--rej-add-from] [--rej-add-to] [--reject-detail <cnt>] [--smtpd-stats] [--srs-mung] [--ssl-tls-stats] [--syslog-name <string>] [-u|--user-cnt <cnt>] [--unprocd-file <filename>] [--use-orig-to] [--verbose-msg-detail] [--verp-mung [n]] [--warning-detail <cnt>] [-x|--debug <file>] [--zero-fill] [file1 [filen]]"
.Vb 1
.\" ========================================================================
.\"
.IX Title "PFTOBYFROM 1"
-.TH PFTOBYFROM 1 2025-05-22 1.1.15 "User Contributed Perl Documentation"
+.TH PFTOBYFROM 1 2025-05-22 1.2.1 "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l