QQDUMP(1)

NAME
qqdump - Receive a message with the qmail-queue protocol, and print its contents.

SYNOPSIS
env QMAILQUEUE=qqdump fixcrio /var/qmail/bin/qmail-smtpd

DESCRIPTION
This program simply receives a message using the qmail-queue protocol, then dumps its contents to STDERR (which will show up in your qmail logs if that's what you're testing).

To use it, put it somewhere as a "qmail-queue" replacement, possibly using Bruce Guenter's patch and the "QMAILQUEUE" environment variable.

For example, with that patch, you might run:

  env QMAILQUEUE=qqdump fixcrio /var/qmail/bin/qmail-smtpd

then conduct an SMTP conversation with the SMTP server, and see what "qmail-queue" saw as a result.