How to block Top Level Domain (TLD's) in Symantec Messaging Gateway

book

Article ID: 178696

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

How to block all email from a country code or other top level domain (TLD)

Resolution

Method 1

Add the TLD to the Local Bad Sender Domains. (Reputation -> Bad Senders -> Local Bad Sender Domains)
Use the format *.tld (with the * being a wildcard)

Example:
*.ca
*.website

Method 2

You can create a content filtering rule that will allow you more flexibility.
It will allow you to create exceptions to the rule or specify a policy group for the rule to apply.

  1. Create a dictionary (Content -> Dictionaries -> Add)
  2. Name the dictionary (i.e. Blocked TLD's)
  3. Enter a TLD and click Add (Repeat as needed.) Click Save when finished.
  4. Click Content on the top menu bar.
  5. Click Add to create a new content rule.
  6. Click select to start with a blank rule.
  7. Name the policy (i.e. Block TLD's)
  8. Under Conditions, change apply to to inbound messages.
  9. Under Conditions, click Add.
  10. Select "Text in the specific part of the message header" and select Envelope Sender in the drop-down to the right. Change "Email address" to "Country code". Select the dictionary you created in step 1. (i.e. Blocked TLD's) Click Add Condition.
  11. Configure an action under Actions.
  12. Select groups to apply the rule to under "Apply to the following policy groups" Click Save.