PFLOGSUMM(1) User Contributed Perl Documentation PFLOGSUMM(1) (NAME) pflogsumm - Postfix MTA (C) 1998-2026 James S. Seymour 1.2.0 (SYNOPSIS) pflogsumm [--config ] [--bounce-detail ] [--colwidth ] [-d|--date-range ] [--deferral-detail ] [--detail ] [--dow0mon] [-e|--extended-detail] [--expired-detail ] [-h|--host-cnt ] [-i|--ignore-case] [--iso-date-time] [-m|--uucp-mung] [--mailq] [--no-no-msg-size] [--problems-first] [--pscrn-detail ] [--pscrn-stats] [-q|--quiet] [--rej-add-from] [--rej-add-to] [--reject-detail ] [--smtpd-stats] [--srs-mung] [--ssl-tls-stats] [--syslog-name ] [-u|--user-cnt ] [--unprocd-file ] [--use-orig-to] [--verbose-msg-detail] [--verp-mung [n]] [--warning-detail ] [-x|--debug ] [--zero-fill] [file1 [filen]] pflogsumm --[dump-config|help|version] : () . man . stdin . stdout stderr . (DESCRIPTION) Pflogsumm Postfix MTA . Postfix . Pflogsumm (panics) . --bounce-detail (bounce) . 0 . --config pflogsumm. ( <<->> <<-->> ) . <> <> <> <> . (override) (boolean). --colwidth . 80 . 0 = . : --verbose-msg-detail . -d --date-range . : today yesterday "this week" / "last week" "this month" / "last month" YYYY-MM[-DD] "YYYY-MM[-DD] YYYY-MM[-DD]" : ISO 8601 / RFC 3339 ("month day-of-month") . pflogsumm . <> ** . / 365 . ! this/last week/month (underscore) : --date-range last_week ISO 8601/RFC 3339 "to" : "2025-08-01 to 2025-08-08" (DD) : 2025-08 == 2025-08-01 2025-08-31 "2025-07 - 2025-08" == 2025-07-01 - 2025-08-31 --debug : -x --dow0mon . ( this/last week .) --deferral-detail (deferral) . 0 . --detail --*-detail -h -u . (override) . --detail 0 ** . --dump-config STDOUT . . : pflogsumm --dump-config STDOUT . : : pflogsumm --dump-config |grep -v ' = $' --expired-detail . 0 . -e --extended-detail ( ) . (queue i.d.) . : ! -h --host-cnt /. 0 = . : <<-u>> <<--*-detail>> . --help . ( <<-h>> :-). : .) -i --ignore-case (case-insensitive). pflogsumm . . --iso-date-time ISO 8601 ( CCYY-MM-DD HH:MM) <> <>. -m () bang-path UUCP bang-path UUCP . UUCP bang-path . . : <> ( <> <> ) <> . (-e) . : --uucp-mung --mailq "mailq" . . ( "mailq" $PATH . "$mailqCmd" .) --no-no-msg-size "Messages with no size data". (qmgr) . () qmgr () pflogsumm . <> <> . pflogsumm "Messages with no size data" . --problems-first <<>> ( ) <<>>. --pscrn-detail postscreen . 0 . : (rejects) postscreen . --pscrn-stats postscreen. : (rejects) postscreen . --rej-add-from IP / : (from) . ( "Improper use of SMTP command pipelining" .) -q --quiet - : warning fatal "master" . --rej-add-to : . --reject-detail reject warn hold discard smtpd . 0 . --smtp-detail (Deprecated) --smtpd-stats smtpd. "per-day" . : "per-hour" ( ). --smtpd-warning-detail . --warning-detail . smtpd . 0 . --srs-mung SRS. Postfix SRS SRS ( ). . : SRS0=A6cv=PT=sender.example.com=support@srs.example.net : support@sender.example.com --syslog-name=name syslog-name Postfix. pflogsumm syslog "postfix" . "syslog_name" Postfix pflogsumm . << (NOTES)>> . --ssl-tls-stats SMTP TLS SMTPD SSL/TLS. -u --user-cnt . 0 == . : <<-h>> <<--*-detail>> . --unprocd-file --use-orig-to "orig_to" "to". --uucp-mung () bang-path UUCP : -m --verbose-msg-detail : <<>> . : . --verp-mung [n] n = 1 <> : "list-return-NN-someuser=some.dom@host.sender.dom" : "list-return-ID-someuser=some.dom@host.sender.dom" : "ID" . n = 2 : "list-return@host.sender.dom" << (NOTES)>> . --version . --warning-detail . 0 . -x : --debug --zero-fill << >> (Zero-fill) ..Ve (RETURN VALUE) Pflogsumm . (ERRORS) stderr . (EXAMPLES) : pflogsumm -d yesterday /var/log/maillog : pflogsumm -d last_week /var/log/maillog.0 : pflogsumm -d today /var/log/maillog crontab : 10 0 * * * /usr/local/sbin/pflogsumm -d yesterday /var/log/maillog 2>&1 |/usr/bin/mailx -s "`uname -n` daily mail stats" postmaster crontab : 10 4 * * 0 /usr/local/sbin/pflogsumm -d "last week" /var/log/maillog.0 2>&1 |/usr/bin/mailx -s "`uname -n` weekly mail stats" postmaster ( crontab . .) : pflogsumm --config /usr/local/etc/pflogusmm/daily.conf : pflogsumm --config /usr/local/etc/pflogsumm/daily.conf --detail 30 ** detail 30 . pflogsumm --config /usr/local/etc/pflogsumm/daily.conf --detail 30 --host-cnt 10 detail 30 detail host count 10 . (SEE ALSO) pffrombyto, pftobyfrom pflogsumm: pflogsumm-faq.txt. (NOTES) . (SYNOPSIS) "help" pflogsumm . Pflogsumm / Postfix . "postfix/" . (chronological) pflogsumm . : "kilo" "mega" . 512k 512m -- 512x ( ) . "k" "m" . . "Items-per-day" . : "Items-per-hour" ( ). (rejects) (reject warnings) (holds) (discards) "rejects" (Per-Hour) (Per-Day) . Verp . Verp . "senders" . bang UUCP . Postfix "swap_bangpath = yes" / "append_dot_mydomain = yes" ** . ( MTA .) " " (percent rejected) " " (percent discarded) . ( "percent rejected"): percent rejected = (rejected / (delivered + rejected + discarded)) * 100 --syslog-name . $syslog_name Postfix "postfix" syslog_name . /etc/postfix/sample-misc.cf : # Beware: a non-default syslog_name setting takes effect only # after process initialization. Some initialization errors will be # logged with the default name, especially errors while parsing # the command line and errors while accessing the Postfix main.cf # configuration file. pflogsumm "postfix," syslog_name . Postfix . : . "postfix" syslog ... . sample-misc.cf "postfix" pflogsumm ( syslog_name) . Pflogsumm : http://jimsun.LinxNet.com/postfix_contrib.html Perl 5.10 Date::Calc --config Pflogsumm Config::Simple . CPAN http://www.perl.com . Pflogsumm Perl 5.38 . 19990413-02 pflogsumm Perl 5.003 . (LICENSE) (GNU General Public License) Free Software Foundation ( ) / . . GNU General Public License . GNU General Public License : Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. GNU General Public License http://www.fsf.org/copyleft/gpl.html . 1.2.0 2026-04-22 PFLOGSUMM(1)