Name

filter

Relay Filter with StringList attributes — Allows email to come through for a specified list of local domains, or by connection ip. Supports StringList types for the list of domains, accept and reject addresses.

<filter/>

Name:filter
Required by Parent Tag:No
Multiple Tag Instances supported:Yes

Table 35. Attributes for filter tag (for xms.filter.recipient.ListRelayFilter)

NameFriendly NameDescriptionTypeDefault ValueRequired
classClassThe class name the service manager loads. To load: Relay Filter with StringList attributes use: class xms.filter.recipient.ListRelayFilterClass Name A fully qualified class name for a class that is part of the java classpath.xms.filter.recipient.ListRelayFilterYes
domainsDomains List NameThe name of a list in StringListService. The list contains domain names, or IP addresses. If the recipient address is not in this list the message will be blocked.String Any character combination is valid.noneYes
orderOrderThe order in which the allow and deny attributes are evaluatedFinite Value Set Value Must be one of the following: [allow, deny, allow,deny, deny,allow]deny,allowNo
allowAllow ListThe list of hosts to allow accessString Any character combination is valid. No
denyDeny ListThe list of hosts to deny accessString Any character combination is valid. No
authorizedsendersAuthorized Sender DomainsA StringList of authorized domainsString Any character combination is valid. No
groupsGroupsThe list of groups allowed to relayString Any character combination is valid. No
allowlistAllow ListThe name of a list in StringListService. The list contains ips allowed to relayString Any character combination is valid.noneNo
denylistDeny ListThe name of a list in StringListService. The list contains ips denied for relayingString Any character combination is valid.noneNo

Service Class Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Example 30. Example configuration for Relay Filter with StringList attributes

Required attributes are marked with a bold typeface

<filter class="xms.filter.recipient.ListRelayFilter"
  domains="domains"
  order="deny,allow"
  allow=""
  deny=""
  authorizedsenders=""
  groups=""
  allowlist="allowlist"
  denylist="denylist" />