Yes, you can presently do that with netqmail via qmail-queue, after the message has been accepted. I would like the option of doing it via qmail-smtpd, before the message has been accepted for delivery, so it can be bounced with a 5XX error.
Jeremy Kister http://jeremy.kister.net./