slb template smtp

SMTP

smtp Specification

Parameter Value
Type Collection
Object Key(s) name
Collection Name smtp-list
Collection URI /axapi/v3/slb/template/smtp
Element Name smtp
Element URI /axapi/v3/slb/template/smtp/{name}
Element Attributes smtp_attributes
Partition Visibility shared
Schema smtp schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/template/smtp

smtp attributes

Create List

POST

/axapi/v3/slb/template/smtp

smtp attributes

Get Object

GET

/axapi/v3/slb/template/smtp/{name}

smtp attributes

Get List

GET

/axapi/v3/slb/template/smtp

smtp-list

Modify Object

POST

/axapi/v3/slb/template/smtp/{name}

smtp attributes

Replace Object

PUT

/axapi/v3/slb/template/smtp/{name}

smtp attributes

Replace List

PUT

/axapi/v3/slb/template/smtp

smtp-list

Delete Object

DELETE

/axapi/v3/slb/template/smtp/{name}

smtp attributes

smtp-list

smtp-list is JSON List of smtp attributes

smtp-list : [

smtp attributes

LF-to-CRLF

Description Change the LF to CRLF for smtp end of line

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

client-domain-switching

Type: List

client-starttls-type

Description ‘optional’: STARTTLS is optional requirement; ‘enforced’: Must issue STARTTLS command before mail transaction;

Type: string

Supported Values: optional, enforced

command-disable

Type: List

error-code-to-client

Description Would transfer error code(554) to client, when getting it from connection establishing with real-server

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description SMTP Template Name

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

server-domain

Description Config the domain of the email servers (Server’s domain, default is “mail-server-domain”)

Type: string

Format: host

Maximum Length: 254 characters

Maximum Length: 1 characters

Default: mail-server-domain

server-starttls-type

Description ‘optional’: STARTTLS is optional requirement; ‘enforced’: Must issue STARTTLS command before mail transaction;

Type: string

Supported Values: optional, enforced

service-ready-msg

Description Set SMTP service ready message (SMTP service ready message, default is “ESMTP mail service ready”)

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

Default: ESMTP mail service ready

template

Description: template is a JSON Block. Please see below for template

Type: Object

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

client-domain-switching

Specification Value
Type list
Block object keys  

match-string

Description Domain name string

Type: string

Format: string-rlx

Maximum Length: 31 characters

Maximum Length: 1 characters

service-group

Description Select service group (Service group name)

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/service-group

switching-type

Description ‘contains’: Specify domain name string if domain contains another string; ‘ends-with’: Specify domain name string if domain ends with another string; ‘starts-with’: Specify domain string if domain starts with another string;

Type: string

Supported Values: contains, ends-with, starts-with

template

Specification Value
Type object

logging

Description Logging template (Logging Config name)

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/slb/template/logging

command-disable

Specification Value
Type list
Block object keys  

disable-type

Description ‘expn’: Disable SMTP EXPN commands; ‘turn’: Disable SMTP TURN commands; ‘vrfy’: Disable SMTP VRFY commands;

Type: string

Supported Values: expn, turn, vrfy