chemailserver

The chemailserver command modifies the parameters of an existing e-mail server object.

Syntax

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

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

>--+-----------------+--+- email_server_name -+----------------><
   '- -port -- port -'  '- email_server_id ---'   

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. When specifying a server name, emailserver is a reserved word.
-ip ip_address
(Optional) Specifies the IP address of the e-mail server object. 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.
email_server_name | email_server_id
(Required) Specifies the name or ID of the server object to be modified.

Description

Use this command to change the settings of an existing e-mail server object. The e-mail server object describes a remote Simple Mail Transfer Protocol (SMTP) e-mail server.

You must specify either the current name or the ID of the object returned at creation time. Use the svcinfo lsemailserver command to obtain this ID.

An invocation example

svctask chemailserver -name newserver 0

The resulting output

none
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.