PerfectMail™ Antispam/Antivirus is a simple, accurate, and easy to use solution! FOLLOW US :
Toll Free: +1 888-451-3131
+1 905-451-9488

Monday, December 03, 2012, 14:05

Blocking top level country domains

Category: Filtering

Solution ID: 00000205


What steps can I take to black list an entire country code? I only seem to receive spam from some countries and I want it to stop!


Yes you can list an entire country code or any other top level domain or subdomain using the Black/White List (Filters > Black/White List).

To block a whole domain or subdomain, simply add that domain to the black list:

  1. Log into your PerfectMail web interface using an administrator account;
  2. Navigate to the Black/White List page (Filtering >Black White List) and select the Black List tab;
  3. Add the Top Level Domain Country Code to the Black List. For example, to block the Soviet Union you would add an entry for "SU" to the list (not ".su" nor "*.su"; simply use "su"). Any e-mail coming from any domain ending ".su" or from any hostname ending ".su" will be black listed.

Internet domain country codes are listed by IANA in ISO 3166-1.

You can find a list of country codes at this link:

Tags: perfectmail, antispam, e-mail, domain, iana, tld, country, code, iso, 3166, blacklist, blocking, block

See Also:

Link to this article: kb/blocking_top_level_country_codes

Updated: Monday, December 03, 2012, 14:05

-- David Rutherford


No comments yet.


Last modified: 2013-10-11, 12:21

© 1999-2013 PerfectMail