I'm using GNU Mailman with Postfix to run a mailing list, and would like to monitor the delivery of outgoing mail, that is: for each mail sent from the list, check whether a 250 (OK) message was answered, and if not, report back to me.
For now, I'm doing a quick-and-dirty:
# cat /var/log/syslog | grep "smtp.*to=.*" | grep -v 250
Is there a clean way to monitor smtpd's output?