I think I got it working!
I had to make a few adjustments to the CRON job and the script..
What I did is leave out the compression all together. I then instructed PFLOGSUMM to look at mail.log and pull yesterday's information.
perl /usr/sbin/pflogsumm -d yesterday /var/log/mail.log | mail -s "Mail Statastics" firstname.lastname@example.org
I then put that into your postfix_report.sh
perl /usr/sbin/pflogsumm -d yesterday /var/log/mail.log | sendmail email@example.com
In the CRON job I put this.
I took off the "&> /dev/null" it would send a blank E-mail
Now all I have to do is add a few options to include a subject.
Thank you Falko!
Without all your tutorials I would not have been able to figure it out!