Use the chemailserver command to modify
the parameters of an existing email server object.
Syntax
chemailserver [ -name server_name ] [ -ip ip_address ] [ -port port ] { email_server_name | email_server_id }
Parameters
- -nameserver_name
- (Optional) Specifies a unique name to assign to the email server
object. The name must be a 1- through 63-character
string, and cannot start with a hyphen or number. When specifying
a server name, emailserver is a reserved word.
- -ipip_address
- (Optional) Specifies the IP address of the email server object.
This must be a valid IPv4 or IPv6 address. IPv6 addresses can be zero
compressed.
- -portport
- (Optional) Specifies the port number for the email 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 email server
object. The email server object describes a remote Simple Mail Transfer
Protocol (SMTP) email server.
You must specify either the current
name or the ID of the object returned at creation time. Use the lsemailserver command to obtain this ID.
An invocation example
chemailserver -name newserver 0
The resulting output:
No feedback