Share the Knowledge
RSS icon Home icon
  • Exchange 2007 SP1: Message rejected as spam by Content Filtering

    Posted on March 11th, 2008 webmaster 3 comments

    Error Message: “550 5.7.1 Message rejected as spam by Content Filtering.”

    One of our users reported that after we applied Service Pack 1 and Update Rollup 1 to Exchange Server 2007, some of the emails that he has scheduled to send daily were getting rejected with the message above.

    I guess the integrated anti-spam in Exchange got updated as well.

    You can configure Content Filtering in Exchange to bypass specific users or domains.

    Open the Exchange Management Shell:

    # To check the Content Filter configuration, type in:

    Get-ContentFilterConfig

    # To set the Bypassed Senders (example):

    Set-ContentFilterConfig -BypassedSenders donotspamme@calazan.com, jdoe@abc.com

    # To set the Bypassed Sender Domains (example):

    Set-ContentFilterConfig -BypassedSenderDomains calazan.com, *.xyz.com

    Important Note: BypassedSenders and BypassedSenderDomains are multivalued properties. When you use the Set-ContentFilterConfig cmdlet, it will overwrite the values of those properties. If you just need to add more senders or domains, please follow the example below.

    # To add Bypassed Senders:

    $x = Get-ContentFilterConfig

    $x.BypassedSenders += “jsmith@google.com”, “bhope@yahoo.com”

    # To remove Bypassed Senders (can only be done one at a time):

    $x = Get-ContentFilterConfig

    $x.BypassedSenders -= “jsmith@google.com”

    # To empty the list:

    Set-ContentFilterConfig -BypassedSenders $null

    Bookmark and Share
     

    2 responses to “Exchange 2007 SP1: Message rejected as spam by Content Filtering” RSS icon

    • $x = Get-ContentFilterConfig

      $x.BypassedSenders -= “jsmith@google.com”

      look like you still need a “set” operation to write zhe $x’s value back

    • A second on the Set Command: so the complete action would be:

      # To add Bypassed Senders:
      $x = Get-ContentFilterConfig
      $x.BypassedSenders += “jsmith@google.com”, “bhope@yahoo.com”
      $x | Set-ContentFilterConfig


    1 Trackbacks / Pingbacks

    Leave a reply