Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

configure smtp

configure smtp

Specifies the SMTP Server settings for the Server Manager.

Syntax

Enter the command with the path to a local SMTP Server settings file or enter the command with the individual parameters:
configure smtp
path_to_a_local_file
configure smtp [server=
server
] [port=
port
] [login=
login
] [passwd=
password
] [email=
email
] [mls=
max_log_size
] [mas=
max_attachment_size
] [bs=
block_size
] [ssl=
ssl_option
] [vhost=
verify_host_cert
] [vpeer=
verify_peer_cert
]
The following short forms are acceptable:
smtpconf
path_to_a_local_file
smtpconf [server=
server
] [port=
port
] [login=
login
] [passwd=
password
] [email=
email
] [mls=
max_log_size
] [mas=
max_attachment_size
] [bs=
block_size
] [ssl=
ssl_option
] [vhost=
verify_host_cert
] [vpeer=
verify_peer_cert
]

Parameters

The following table describes the command parameters:
Parameter
Description
path_to_a_local_file
The path to a local SMTP Server settings file.
server
The IP address or host name of the SMTP Server that the Server Manager uses to send notifications.
port
The SMTP Server port number that the Server Manager uses to send email notifications. Valid values are integers from 1 through 65535.
login
The user login for the SMTP Server.
passwd
The password for the SMTP Server.
email
The email address that the Server Manager uses to send email notifications.
mls
The maximum log file size, in bytes, that the Server Manager can paste into the email body. If the log file size is larger than this parameter value, the mas parameter is used instead.
mas
The maximum log file size, in bytes, that the Server Manager can attach to an email notification. If the log file size is larger than this parameter value, the bs parameter is used instead.
bs
The block size, in bytes, that the Server Manager takes from the start and end of the log file storage and pastes into an email notification. The intervening bytes of blocked storage for the middle of the log file are not included. This parameter is used only if the log file size is larger than both the mls and mas parameter limits.
ssl
Indicates whether the SMTP Server uses the SSL protocol to send email notifications. Options are:
  • 1 or true. Use the SSL protocol.
  • 0 or false. Do not use the SSL protocol.
Default is false.
vhost
Verifies that the SMTP Server host name or IP address that is specified in the SSL certificate matches the SMTP server value that is specified on the
Subscribers
tab >
General
subtab in the Data Replication Console. Options are:
  • 1 or true. Verify that the certificate is associated with the correct host name or IP address.
  • 0 or false. Do not verify that the certificate is associated with the correct host name or IP address.
Default is false.
vpeer
Verifies that the SSL certificate is authentic. Options are:
  • 1 or true. Verify that the SSL certificate is authentic.
  • 0 or false. Do not verify that the SSL certificate is authentic.
Default is false.

Examples

The following command uses the smtp_settings file in the C:\notifications directory to specify the SMTP Server settings:
configure smtp C:\notifications\smtp_settings.txt
The following command uses individual parameters to specify the SMTP Server settings for a server that does not use SSL protocol to send email notifications to the idradmin user:
configure smtp [server=10.51.4.120] [port=9088] [login=idradmin] [passwd=] [email=admin@mycompany.com] [mls=500000] [mas=5000000] [bs=100000] [ssl=0] [vhost=0] [vpeer=0]

0 COMMENTS

We’d like to hear from you!