Decided to tar my log and send it. Tested with the yesterday log containing malware links and it works.(so far)
Thank you for your input My approach: #!/bin/bash # Use apt-get install sendemail (this is NOT sendmail) if you do not have it /usr/sbin/pflogsumm -d today --problems_first --smtpd-stats /var/log/mail.log > log.txt 2>&1 tar czf postfix.tar.gz log.txt sendemail -f sender[at]domain[dot]com -t recipient[at]domain[dot]com -m "Check the attached file" -u "Postfix report for $(hostname) on $(date)" -a postfix.tar.gz rm log.txt rm postfix.tar.gz -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-pflogsumm-clamav-email-blocked-tp62737p62754.html Sent from the Postfix Users mailing list archive at Nabble.com.