Transport Rule: Show which word caused the rejection
Posted on 2013-05-20
Have configured a Transport Rule in Exchange 2010 to reject with enhanced status code (5.7.1) emails that are sent containing profanity defined by myself. Tested and the notification message is correctly received, it tells me who I've attempted to send to, and shows the custom message I created in the transport rule informing me that the message was rejected because "it contained a banned word" (this is the custom message).
The problem is its not showing me what word triggered the rejection. I want users who send emails containing banned words to see which word flagged as banned in case it was accidental. Is there a custom DSN I need to set up?