smtp command

This command configures and displays the management-module SMTP settings.

Table 1. smtp command
Function What it does Command Valid targets
Display SMTP server host name or IP address Displays the SMTP server host name or IP address. smtp
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Server host name or IP address - set Checks syntax and sets the server host name or IP address. smtp -s hostname/ip_address

where hostname/ip_address is the host name or IP address of the server.

Command use restricted (see Commands and user authority).

                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example:

To set the SMTP server host name to us.ibm.com, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  smtp -s us.ibm.com
               
To display the SMTP configuration, while management module 1 is set as the persistent command environment, at the system:mm[1]> prompt, type
                  smtp
               

The following example shows the information that is returned from these two commands:

               system:mm[1]> smtp -s us.ibm.com
OK
system:mm[1]> smtp
-s us.ibm.com
system:mm[1]>