{"id":1264,"date":"2020-11-05T18:18:11","date_gmt":"2020-11-05T07:18:11","guid":{"rendered":"https:\/\/4it.com.au\/kb\/?post_type=article&#038;p=1264"},"modified":"2020-11-05T18:18:11","modified_gmt":"2020-11-05T07:18:11","slug":"how-to-block-at-tld-in-office-365-using-mail-flow-rules","status":"publish","type":"article","link":"https:\/\/4it.com.au\/kb\/article\/how-to-block-at-tld-in-office-365-using-mail-flow-rules\/","title":{"rendered":"How to Block at TLD in Office 365 using Mail Flow Rules"},"content":{"rendered":"<p>With nearly every TLD available under the sun wise marketers have caught on and are using these domains to spam you with their crap so they don&#8217;t get their .com address blocked by spam filters.\u00a0 There&#8217;s more than one way to block a top level domain in Office 365 however here is the method that can be used using mail rules.<\/p>\n<h3>Step 1<\/h3>\n<p>In the Exchange Admin Centre go to Mail Flow &gt; Rules<\/p>\n<h3>Step 2<\/h3>\n<p>Create a new rule (make sure you check the More Options box)<\/p>\n<h3>Step 3<\/h3>\n<p><a href=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2020\/11\/Block-Top-Level-Domains-Office-365-Spam.png\"><img class=\"wp-image-1265 alignnone\" data-original=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2020\/11\/Block-Top-Level-Domains-Office-365-Spam.png\" alt=\"\" width=\"573\" height=\"502\" \/><\/a><\/p>\n<p>Here&#8217;s the rule:<\/p>\n<p><strong>Apply this rule if&#8230;. The send address matches <span style=\"color: #ff0000;\">\\.dodgyTLD$<\/span><\/strong><\/p>\n<p>For example we would add <span style=\"color: #ff0000;\">\\.online$<\/span> if we wanted to block and email address ending in <span style=\"color: #ff0000;\">.online<\/span><\/p>\n<p>From there you can choose to silently delete, reply etc&#8230;<\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>With nearly every TLD available under the sun wise marketers have caught on and are using these domains to spam you with their crap so they don&#8217;t get their .com address blocked by spam filters.\u00a0 There&#8217;s more than one way to block a top level domain in Office 365 however here is the method that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","article-category":[7],"article-tag":[832],"class_list":["post-1264","article","type-article","status-publish","format-standard","hentry","article-category-office-365","article-tag-block-tld-office-365"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":5,"sum_votes":23},"_links":{"self":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/1264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/comments?post=1264"}],"version-history":[{"count":0,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/1264\/revisions"}],"wp:attachment":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-category?post=1264"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-tag?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}