{"id":647,"date":"2015-08-06T20:58:00","date_gmt":"2015-08-06T20:58:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=647"},"modified":"2022-11-05T10:53:19","modified_gmt":"2022-11-05T10:53:19","slug":"microsoft-exchange-2013-sending-junk-to-the-users-outlook-junk-e-mail-folder","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=647","title":{"rendered":"Microsoft Exchange 2013 Sending Junk to the User&#8217;s Outlook &#8220;Junk E-Mail&#8221; Folder"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In Exchange 2013 you can set an email to be put in the user&#8217;s Junk E-Mail folder based on if you think it is SPAM or not. This doesn&#8217;t use the Exchange built in spam filtering, it assumes you have a spam filter external to your Exchange environment that can tag an email that it thinks is spam or possible spam.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my case we had a Barracuda Spam Firewall, this would pass messages with a spam score of 0 to 3.5, would tag messages with a spam score of 3.6 to 5.9 and block 6 and over. The tagging involved adding [POSSIBLESPAM] to the subject line and sending the message on to Exchange. This caused some confusion to users who wondered if it was spam or not and also didn&#8217;t want it in their inbox. So to configure this you need to use transport rules in Exchange, here&#8217;s the process:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. First your anti-spam product will need to tag the subject line with [POSSIBLESPAM].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Within Exchange create a transport rule as shown below, this should come before all your other rules (probably).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.geekmungus.co.uk\/wp-content\/uploads\/2021\/07\/image-84.png\" alt=\"\" class=\"wp-image-649\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This rule catches any messages with [POSSIBLESPAM] and then setting the SCL tag of the email to 8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Now at this point Exchange needs to be checked to ensure it will process the SCL tag of the email accordingly. The documentation for Exchange says that email which has a an SCL tag of 7 or over for the configured SCLJunkThreshold say, will be sent to Junk Email. However I&#8217;ve found it means an SCL tag of over 7, i.e. 8 and above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Configure the -SCLJunkThreshold to 7 with this command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">set-OrganizationConfig -SCLJunkThreshold 7<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Now test that the a message which is tagged ends up in your Junk mail folder within Outlook. If its tagged with [POSSIBLESPAM] its set with an SCL of 8, and the message stuck in the Junk email folder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Exchange 2013 you can set an email to be put in the user&#8217;s Junk E-Mail folder based on if you think it is SPAM or not. This doesn&#8217;t use the Exchange built in spam filtering, it assumes you have a spam filter external to your Exchange environment that can tag an email that it &#8230; <a title=\"Microsoft Exchange 2013 Sending Junk to the User&#8217;s Outlook &#8220;Junk E-Mail&#8221; Folder\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=647\" aria-label=\"Read more about Microsoft Exchange 2013 Sending Junk to the User&#8217;s Outlook &#8220;Junk E-Mail&#8221; Folder\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-647","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=647"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/647\/revisions"}],"predecessor-version":[{"id":1421,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/647\/revisions\/1421"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}