Rich Shepard put forth on 11/21/2010 9:56 AM: > Recently I upgraded to postfix-2.7.1. Something changed in the pflogsumm > reporting system because now each day's report appears to accumulate for > the > entire week before resetting. It used to report for only the previous day's > maillog, which is why the local file, /etc/cron.daily/1pflogsumm, runs > before logrotate does. > > I've looked unsuccessfully for the change but have not seen it. > /etc/cron.daily/1pflogsumm remains the same as before the upgrade. This > file > does not specify '-yesterday', but it never has. > > Please suggest where I should look for the reporting period specification > so I can change it from weekly to daily.
~$ pflogsumm.pl -d yesterday /var/log/mail.log Should be that simple. Unless you're more concerned with figuring out why it broke than you are with fixing the described problem. Also note that Postfix has zero to do with pflogsumm. The former simply logs entries via the syslog deamon. The latter parses the resulting syslog mail log file. Something else on your system apparently changed around the same time frame you upgraded to 2.7. -- Stan