Name

service

SMTP Service — SMTP Server Service

<service class="xms.transport.smtp.SMTPService" name="name" > child tags </service>

Table 74. Attributes for service tag (for xms.transport.smtp.SMTPService)

NameDescriptionTypeDefault ValueRequired
TLSModeTLS ModeTLSMode One of the following values: starttls,smtpsstarttlsno
addressThe local addresses to listen for connections.InetSocketAddress A hostname:port pair or hostname. Port is 0 if unspecifiedlocalhostno
allowInsecureAuthAllow authentication without TLS encryptionboolean true or falsefalseno
authenticatorAn authenticator to authenticate SMTP sessionsAuthenticator Name of a Authenticator as defined in XMSAuthenticationServicenoneno
backLogThe backlog for incoming socket connectionsint positive integer50no
bannerAn alternate SMTP bannerString any character combinationnoneno
heloRequiredThe HELO command is requiredboolean true or falsefalseno
hostMapA String Map that maps local IPs to hostnamesStringMap Name of a StringMap as defined in StringMapServicenoneno
hostnameThe default hostname of this machineString any character combinationnoneno
keyStoreA keystore to use for TLS encryptionKeyStore Name of a KeyStore as defined in KeyStoreServicenoneno
maxReceivedThe maximum number of Received headers allowed in a message before considering the message a loopint any integer20no
portThe local port to listen for connections.int any integer25no
requireAuthRequire authenticationboolean true or falsefalseno
requireTLSRequire TLS Encryptionboolean true or falsefalseno
socketTimeoutThe socket timeout in mslong any integer300000no
targetThe name of the service to direct incoming messages to.MessageSink Name of a Service that implements MessageSinknoneyes

Service Dependencies

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

Child Tags

Filter

<filter class="class" />

Classes Implementing xms.filter.Filter

The following classes can be used in the class attribute for this tag:

Example 71. Example configuration for SMTP Service

Required attributes are marked with a bold typeface

<service class="xms.transport.smtp.SMTPService" name="name"
      TLSMode="TLSMode"
      address="address"
      allowInsecureAuth="allowInsecureAuth"
      authenticator="authenticator"
      backLog="backLog"
      banner="banner"
      heloRequired="heloRequired"
      hostMap="hostMap"
      hostname="hostname"
      keyStore="keyStore"
      maxReceived="maxReceived"
      port="port"
      requireAuth="requireAuth"
      requireTLS="requireTLS"
      socketTimeout="socketTimeout"
      target="target">
    <filter class="class" name="name"  />
</service>