Transport Rule Exceptions


  • Hello,

    I'm looking for some assistance with transport rules.  I have several rules setup that I need to add an exclusion to.  We have email coming in from a couple specific hosts that I need to exclude from the rule.  Unfortunately there are no 'exclude if email comes from specific host' rules to use.  I thought I might be able to use the match text in message header rule, but I can't find any (good) documentation on how to even use that rule.

    If anyone knows of a way to exclude emails from a transport rule by host name or IP I'd appreciate some assistance.



    Friday, January 13, 2017 4:49 PM

All replies

  • In your Rule, if you hit "more options"  > add exception > The sender... > IP address is in any of these ranges...

    Will that work for ya?

    My Blog: My Twitter:

    Friday, January 13, 2017 5:04 PM
  • Thanks for the reply Stacey.

    I'm not seeing a more options....option.  I should add this is an Exchange 2010 transport rule and not 2013.  There wasn't a 2010 category to post in.


    Friday, January 13, 2017 5:23 PM
  • So I'm back to the 'Except when the message header contains specific words' rule.  I'm going to put the IPs of the sending servers in the "specific words" variable.  And I'm going to put "Received" in the "message header" variable, since that's the header than contains the sending server IP address.  I'm not sure if that's correct, but we should know soon enough....
    Friday, January 13, 2017 5:46 PM
  • Hmm I'm not entirely sure if it'll work; if I remember correctly, IP addresses won't get stamped on the header until it's been processed by the submission queue.

    But it's worth a shot, won't hurt anything to try :)

    My Blog: My Twitter:

    Friday, January 13, 2017 7:29 PM