Setting up e-mail servers using the CLI

You can set up e-mail server objects using the command-line interface (CLI).

You can specify a server object that describes a remote Simple Mail Transfer Protocol (SMTP) e-mail server to receive event notifications from the cluster. You can specify up to six servers to receive notifications. To configure and work with e-mail servers, use the following commands:

  1. Issue the svctask mkemailserver CLI command to create an e-mail server object that describes a remote Simple Mail Transfer Protocol (SMTP) e-mail server. For example, issue the following CLI command to set up an e-mail server:
    svctask mkemailserver -ip ip_address  

    where ip_address is the IP address of a remote e-mail server. This must be a valid IPv4 or IPv6 address.

  2. To change the parameters of an existing e-mail server object, issue the svctask chemailserver command. For example:
    svctask chemailserver -ip ip_address email_server_name_or_id

    where ip_address is the IP address of the e-mail server object and email_server_name_or_id is the name or ID of the server object to be changed.

  3. To delete a specified e-mail server object, issue the svctask rmemailserver command. For example:
    svctask rmemailserver email_server_name_or_id
  4. To display either a concise list or a detailed view of e-mail servers that are configured on the cluster, issue the svcinfo lsemailserver command. For example, to display a concise view, enter the following command:
    svcinfo lsemailserver -delim :
    To display a detailed view of an e-mail server, enter the following command:
    svcinfo lsemailserver email_server_name_or_id
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.