[comp.mail.misc] Sendmail return receipts

johnan@mchale.ism.isc.com (John Antypas) (06/08/90)

A question for sendmail wizards.  I'd like to use the return receipt
function of sendmail.  However, this requires that a "Return-receipt-to:"
header be present in the message header block.

To do this, I'd create a header line with a flag, say "Q":

H?Q?Return-receipt-to: $g

This is easy enough, but now how do I convince the mailer definitions
I don't want this flag on ALL outgoing mail through a mailer!
Sure, I can create a new mailer (say Mrr) which will look at the address,
check for a .RR on the end, strip it off, include the "Q" flag in the
mailer header, and then sendmail it back through sendmail for mailing
but this is severe hack.   Is there any other way?

I'd like to avoid hacking at mail, mailx, etc.

Does sendmail provide a way to "add" flags to a mailer at delivery time
based on some rule?

Thanks -- 

John Antypas / Interactive Systems Corp.
uucp: ...!uunet!ism.isc.com!johnan    Internet: johnan@ism.isc.com
All statements above responsability of the author.