read_sendmail_log

As a message passes through sendmail it leaves multiple entries in the log files. If you want to see what happened to a message bound for a particular address, first you have to search for that address in the log files, then, using the queue id, you need to search for the other log entries relating to that message.

This program automates that.

The -2 argument tells it to read the log files twice. You'll want to do this if the thing you are searching for isn't in the first of the log entries relating to the message.

Gzip'ed log files are auto-decompressed.

Status: maintained (until I give up on sendmail)
Last modification: 2003
Download: here