* Search all existing qpsmtpd logs for email to or from user@domain.tld:
+
qploggrep user@domain.tld
+
* Search for email to or from user@domain.tld that was denied by spamassassin:
+
qploggrep spamassassin | grep user@domain.tld
+
* Display all qpsmtpd transactions denied due to ''dnsbl'':
+
qploggrep dnsbl
+
* Display the total connection time for all connections, sorted by connection time:
+
qploggrep connection_time | sort -k 3 -n
+
+
Program Notes:
+
* ''qploggrep'' cannot locate information that is not there. For example, since the ''dnsbl'' plugin drops the incoming connection before the remote server specifies the addressee, you cannot find out who the blocked message was addressed to.
+
* ''qploggrep'' uses a case-insensitive search, so <tt>qploggrep abc</tt> will locate lines containing ''abc'', ''ABC'', ''aBc'', etc.