![]() The Transport Rules Agent never gets to see deleted and rejected messages at all. If the CFA is left enabled, along with any of the above actions, messages may get deleted, rejected or quarantined. On Hub Transport servers, the Transport Rules Agent fires on the OnRoutedMessage event. The Content Filter Agent fires on the EndOfData SMTP event. Why this doesn’t work with Delete, Reject or Quarantine thresholds enabled? If it is above the SCLJunkThreshold, it should be delivered to the Junk Mail folder. The message has the SCL value set by the Transport Rule. Send a test message with the X-header X-Spam-Status:yes. Set-ContentFilterConfig -SCLDeleteEnabled $false -SCLRejectEnabled $false -SCLQuarantineEnabled $false ![]() Messages exceeding SCLJunkThreshold will still be moved to Junk Mail folder.ĭisable-TransportAgent “Content Filter Agent”Īlternatively, you can leave the CFA enabled, but disable the Delete, Reject and Quarantine actions. New-TransportRule “Stamp SCL” -condition -action the Content Filter agent: Since you have a 3rd-party filtering solution running on your non-Exchange SMTP host(s), you can disable the Content Filter Agent. $condition.words = Get-TransportRuleAction SetSCL $condition.MessageHeader = “X-Spam-Status” $condition = Get-TransportRulePredicate HeaderContains Click New | click Finish to close the wizard On the Exceptions page, click Next if you do not want any exceptions to this ruleġ2. In the rule description, click on the 0 link and add a value that’s above your SCLJunkThreshold | click Nextġ1. In the Actions page, select the action set the spam confidence level to valueġ0. In the edit box, click on the specific words linkĩ. ![]() In the Step 2 edit box, click on the message header linkħ. In the Conditions page, select the condition when a message header contains specific wordsĥ. Give the new rule a name, add a comment if you wishĤ. Click on New Transport Rule in the Action paneģ. Fire up EMC | Organization Config | Hub Transport | Transport Rules tabĢ. Only if Exchange/Windows admins could code… I can hear you think.Ĭreating a Transport Rule: Exchange Server 2007’s Transport Rules functionality allows you to accomplish this easily. To add some contextual fun – back then, our “solution” was a doc that showed the end-users how to create an Outlook rule to move such messages to Junk Mail. Their solution is to insert an X-header in messages that looks like this:Īs the Exchange team/administrator, your job is to ensure messages with that header end up in users’ Junk Mail folder.Įxchange Server 2003 did not provide any way, out-of-the-box, to be able to inspect message headers and stamp SCL. After tweaking it for a number of weeks, they are able to make it work the way they want it to, or are close to it. Just to set the record straight, I was suitably impressed back then, and continue to be so till this day. They insist on using open source anti-spam software, such as SpamAssasin (yes Eric, I remember CRM114 – the Controllable Regex Mutilator… and all the cool stuff you can command it to do. However, the Unix/Linux/Security folks in your organization don’t trust Exchange to do the filtering (or act as the mail gateway). Scenario: “You are the Exchange administrator for your organization… “.Įxchange has the Content Filter Agent (CFA), and the Edge Transport Server role designed to be a non-domain-joined mail gateway, located in perimeter networks. Exchange Server 2007’s Transport Rules resolve this within minutes. This has several advantages, not least of which being your servers do not get hit by all the unwanted mail, as well as offloading the responsibility for keeping everything up to date.Here’s a problem I had a hard time resolving on Exchange Server 2003. All your mail is routed first through Microsoft's mail server (so, you need to change your MX record to point there), before it is then delivered to the school. Another option, for those with EES, is Forefront Online Protection for Exchange.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |