Rounded Top
Password Hint If you have not signed in recently, your password may be your Customer ID. Check your email archives for your Customer ID or reset your password.

Knowledge Base

How to redirect blacklisted emails to the Junk folder (Exchange 2016)

Article was last updated on January 9, 2017. View products that this article applies to.

Preface

The following article provides step-by-step instructions to redirect all emails blacklisted by ORF to the recipients' Junk folder instead of rejecting them. This could be useful if your users wish to review blacklisted emails to make sure no legitimate email has been blocked.

This article is for Exchange 2016: if you have Exchange 2013, follow the steps described in this KB article instead. Exchange 2007/2010 users should consult this KB article. The instructions for Exchange 2003 can be found in this KB article.

Exchange Configuration

  1. Start the Exchange Management Shell
  2. Issue the following command to create a new Transport Rule, which will assign SCL score 9 to all emails blacklisted and tagged by ORF:
  3. New-TransportRule "ORFJunkFolderRedirect" -SubjectContainsWords "[SPAM]" -SetSCL 9

  4. Re-order your Transport Agents so the Transport Agent of ORF (Vamsoft ORF SMTP Receive Agent) runs before the Transport Rule Agent (on Mailbox servers) or the Edge Rule Agent (on Edge Transport servers). This will ensure that ORF will tag emails first and the rule agent will evaluate the email only afterwards (and assign the SCL score according to the rule created in the previous step). The following command will set the priority of the Vamsoft ORF SMTP Receive Agent to 1 (so it will be called first):
  5. Set-TransportAgent -Identity "Vamsoft ORF SMTP Receive Agent" -Priority 1

  6. Restart the MSExchangeTransport Service to apply the changes:
  7. Restart-Service MSExchangeTransport

  8. Make sure the Transport Agent priorities are set correctly:
  9. Get-TransportAgent | fl

ORF Configuration

  1. Start the ORF Administration Tool and connect to the local or remote ORF instance
  2. Expand Filtering / Tests in the left navigation pane
  3. Assign all blacklist tests to On Arrival
  4. Expand Filtering / Actions
  5. Click the Edit button under On Arrival and select Accept email and perform further actions
  6. Check Tag email subject with the text below and enter [SPAM]
  7. Click OK and save your settings by pressing Ctrl + S.

If everything was configured properly, ORF will tag blacklisted emails, the Transport Rule will increase the SCL score of the tagged email to 9, and it will land in the Junk folder of the target recipient.

Applies To

The article above is not specific to any ORF versions.