Searching Postfix logs
Status messages
# find all log entries where the status is other than sent
grep status= /var/log/mail.log | grep -v status=sent
# make sure there aren't eny other status messages
grep status= /var/log/mail.log | grep -v -e status=sent -e status=bounced -e status=deferred -e status=expired
# find individual instances
grep status=bounced /var/log/mail.log
grep status=deferred /var/log/mail.log
grep status=expired /var/log/mail.log
#end