mkemailserver

The mkemailserver command creates an e-mail server object that describes a remote Simple Mail Transfer Protocol (SMTP) e-mail server.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- mkemailserver -- ----------------------------->

>--+------------------------+-- -- -ip -- ip_address -- -------->
   '- -name -- server_name -'                              

>--+-----------------+-----------------------------------------><
   '- -port -- port -'   

Parameters

-name server_name
(Optional) Specifies a unique name to assign to the e-mail server object. The name must be a 1- through 15-character string, and cannot start with a hyphen or number. If a name is not specified, then a system default of emailservern is applied, where n is the object ID. When specifying a server name, emailserver is a reserved word.
-ip ip_address
(Required) Specifies the IP address of a remote e-mail server. This must be a valid IPv4 or IPv6 address. IPv6 addresses can be zero compressed.
-port port
(Optional) Specifies the port number for the e-mail server. This must be a value of 0 - 65535. The default value is 25.

Description

This command creates an e-mail server object that represents the SMTP server. The SAN Volume Controller uses the e-mail server to send event notification and inventory e-mails to e-mail users. It can transmit any combination of error, warning, and informational notification types.

The SAN Volume Controller supports up to six e-mail servers to provide redundant access to the external e-mail network. The e-mail servers are used in turn until the e-mail is successfully sent from the SAN Volume Controller. The attempt is successful when the SAN Volume Controller gets a positive acknowledgement from an e-mail server that the e-mail has been received by the server.

An invocation example

svctask mkemailserver -ip 2.2.2.2 -port 78

The resulting output

Emailserver id [2] successfully created
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.