Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a situation where emails are sent out of Exchange 2003 using a email account by a Java API connecting to the SMTP server on the Exchange box.

  • Is there a way I can have Exchange automatically tag these emails to have Read / Delivery Receipts based on a combination of Text in the body, subject, destination address?
  • Could these rules be created as server side rules via an Outlook client and still be applied when a message is sent via the Java API?
  • What specifies if a rule is client side or server side?
  • Are Delivery Receipts created by the sending server or the receiving server? If the latter, how often are these enabled?
  • Right now I am researching doing it on the Exchange server, but if was going to be done from the development side, how are requests for read or delivery receipts created, something in the header?
share|improve this question

2 Answers 2

up vote 1 down vote accepted

Delivery receipts are often useless, since they're generated by the sending server upon handing-off the message to the first SMTP hop. Delivery receipts in no way reflect the actual status of the delivery of the message into the recipient's mailbox.

I consider read receipts to be an evil instrument of office politics, as well as a stupid drain on server resources.

Your Java API should be adding the Disposition-Notification-To: header if you want receipts. Then you're not stuck with having to write an ugly (and deprecated) SMTP transport sink (the only way I can think to do what you're trying to do w/o invoking an even older and more deprecated API-- the Exchange Event Service) to stamp headers for you. (See http://tools.ietf.org/html/rfc3798 for more detail...)

An aside: I don't do this anymore, since I'm directly accountable to my Customers, but I became so fed up with office politics at my "old job" that I I'd delete any "internal" emails with receipt requests requested w/o reading them first. Fortunately, we used Outlook / Exchange so I could do that silently. Really hideously brain-damaged email systems (like Novell Groupwise) inform the sender of the unread deletion, though I suppose that would've accomplished my intended effect as well.

share|improve this answer

Using Evan's information I was able to build the message with telnet using the following, will accept his assuming nobody shows me how to do it with the server (Even though I don't think that would be the best way).

ehlo
mail from: administrator@company.com
rcpt to: <kbrandt@company.com> NOTIFY=SUCCESS,FAILURE ORCPT=rfc822;kbrandt@company.com
data
From: <administrator@company.com>
To: <kbrandt@company.com>
Disposition-Notification-To: <administrator@company.com>
Return-Receipt-To: <administrator@company.com>
Subject: Test2
foo
.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.