locked
Bounce Back Message Exchange 2010 RRS feed

  • Question

  • Hi

    I am trying to create a transport rule that when a user from the oustide sends an email to our orginization containing a specific domain for example @mydomain.com, than the sender will receive a message saying...please do not use this email domain moving forward as the company name has changed.

    Any ideas?

    Thanks

    Thursday, May 19, 2016 3:56 PM

Answers

All replies

  • There's no transport rule action to reply with a specific message.  You could bounce the message but I don't think you want to do that.

    https://technet.microsoft.com/en-us/library/aa998315(v=exchg.141).aspx


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Thursday, May 19, 2016 4:01 PM
  • What if I use error code? and specify the text?
    Thursday, May 19, 2016 5:06 PM
  • Go ahead and try it.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Thursday, May 19, 2016 5:47 PM
  • Ok what is the best rule to capture the domain name?

    So the error code will only be produced when a user emails to @mydomain.com


    Thursday, May 19, 2016 6:00 PM
  • I would think that RecipientAddressMatchesPatterns would be most appropriate.  You'll need to express it as a regular expression.

    https://technet.microsoft.com/en-us/library/dd638183(v=exchg.141).aspx

    https://msdn.microsoft.com/en-us/library/az24scfc(v=vs.110).aspx

    There are plenty of other sources for regular expression syntax.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Thursday, May 19, 2016 6:54 PM
  • Ok here is the issue....

    We use to have an old domain @olddomain.com

    and now we are using the @newdomain.com

    The default reply address for all users is now @newdomain.com.

    However if you email somebody@olddomain.com Exchange stills delivers it to the users @newdomain and this does not kick in the transport rule because the pattern is never matched.

    Thursday, May 19, 2016 9:56 PM
  • I can't say because you haven't shared the configuration details.

    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    Celebrating 20 years of providing Exchange peer support!

    Friday, May 20, 2016 1:30 AM
  • Hi,

    Please run below command to list the description of transport rule, it's more helpful for further assistance:
    Get-TransportRule | FL Name,Description


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Allen Wang
    TechNet Community Support

    Friday, May 20, 2016 9:28 AM
    Moderator