Skip to main content

smtp command

Use this command to display and configure settings for the SMTP interface.

Running the smtp command with no options displays all SMTP interface information. The following table shows the arguments for the options.

Table 1. smtp command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-authSMTP authentication supportenabled, disabled
-authepwSMTP authentication encrypted passwordValid password string
-authmdSMTP authentication methodCRAM-MD5, LOGIN
-authnSMTP authentication user nameString (limited to 256 characters)
-authpwSMTP authentication passwordString (limited to 256 characters)
-pnSMTP port numberValid port number
-sSMTP server IP address or hostnameValid IP address or hostname (63 character limit)
Syntax:
smtp [<em className="ph i">options</em>]
option:
-auth <em className="ph i">enabled|disabled</em>
-authepw <em className="ph i">password</em>
-authmd <em className="ph i">CRAM-MD5|LOGIN</em>
-authn <em className="ph i">username</em>
-authpw <em className="ph i">password</em>
-s <em className="ph i">ip_address_or_hostname</em>
-pn <em className="ph i">port_number</em>
Example:
system> smtp
-s test.com
-pn 25
system>