We have some reports which are emailed. We have a transport rule which searches the attachment for a phrase only found in these attachments.
I have an exception which allows the report to be sent to certain email addresses. The action sends a rejection message if additional recipients are included.
The problem is that while incorrect recipients are blocked they are not removed from the message header sent to approved recipients making it appear as if the email was sent to unauthorized recipients. I would prefer to have all recipients blocked rather than sending misleading header information.
Is anyone familiar with a solution for changing the behavior of the transport rule to either alter the header information or block all recipients?
Exchange appears to be checking each separate instance of the email (one per recipient) against the transport rule as opposed to checking the entire email as a whole. As there may be no way around this is there a way to use the message header pattern match in order to reject all recipients except for a specific header with correct recipients or otherwise alter the exceptions?