addRestrictedDomain

Adds a restricted or blacklisted domain.

Syntax

addRestrictedDomain "domain_name"
Parameter Description
domain_name A fully qualified domain name or IP address.

Purpose

The addRestrictedDomain command adds a blacklisted domain to the Sametime® Gateway Server. When the Sametime Gateway Server receives a subscription request, the Sametime Gateway Server checks the blacklist domains and rejects messages when either the destination or source domain is a member of the blacklist.

Data type: String

Sample

This sample adds a blacklisted domain to the Sametime Gateway Server:
set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
$AdminControl invoke $ons addRestrictedDomain "spamalot.com"