If I type pflogsumm /var/log/maillog I get a full and complete print out.
[root@mcq wbs]# man pflogsumm
[root@mcq wbs]# cat /var/log/maillog | pflogsumm | less
sent cnt bytes defers avg dly max dly host/domain
-------- ------- ------- ------- ------- -----------
778 39134k 0 2.5 s 2.8 m sbanetweb.com
28 1071k 0 1.2 s 7.0 s gmail.com
12 1311k 0 2.4 s 6.0 s .com
10 325177 0 1.7 s 2.5 s n.edu
8 414662 0 1.1 s 1.7 s aol.com
4 1070k 0 1.1 s 1.4 s .gov
4 551k 0 2.0 s 2.6 s rt.com
4 328813 0 1.0 s 1.3 s .com
3 15599 0 2.2 s 2.4 s srv1.mail-tester.com
2 2947k 0 6.1 s 7.8 s cs.org
2 162902 0 0.7 s 0.8 s optonline.net
2 95081 0 2.1 s 3.2 s com
2 95081 0 1.5 s 2.0 s .com
2 26472 0 1.0 s 1.0 s .com
2 21638 0 4.7 s 5.3 s .com
2 4615 0 1.5 s 1.9 s i.com
2 2523 0 2.3 s 3.7 s m.com
1 24877 0 0.6 s 0.6 s r.com
1 16961 0 0.7 s 0.7 s .com
1 5012 0 0.7 s 0.7 s sparkpostmail.com
0 0 30 0.0 s 121.2 h uiopend.beauty ***<-- Spammer***
<snip>
If I type pflogsumm -d today (or yesterday) /var/log/maillog I get
Postfix log summaries for May 2
Grand Totals
------------
messages
0 received
0 delivered
0 forwarded
0 deferred
0 bounced
0 rejected (0%)
0 reject warnings
0 held
0 discarded (0%)
0 bytes received
0 bytes delivered
0 senders
0 sending hosts/domains
0 recipients
0 recipient hosts/domains
I tried cat /var/log/maillog | pflogsumm (worked)
I tried with “today” and “yesterday”
cat /var/log/maillog | pflogsumm -d today (didn’t work).
and had the same results.
Some research talked about perlocal. I ran perldoc perlocal and got no response. Not much more available that I found.
Strange.