I am trying to create a transport rule that will reject the message with enhanced status code I created. Exchange doesn't seem to recognize the rule at all. I want to send a reply to anyone that sends an email to 1 of our old email domains that will no longer be available.
Apply rule to messages
from users that are "outside the organisation" and when a recipients address matches "@olddomain.com"
send "Diags for email admins" to sender with '5.7.999"
I send test emails to myself with the old domain address, I get the emails but my google and yahoo accounts don't get an ndr