lsemailserver

Use the lsemailserver command to display a concise list or a detailed view of email servers that are configured on the system.

Syntax

Read syntax diagramSkip visual syntax diagram lsemailserver email_server_nameemail_server_id

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
email_server_name | email_server_id
(Optional) Specifies the name or ID of an existing email server that must be listed.

Description

Use this command to display a concise list or a detailed view of email servers that are configured on the system.

This table provides the attribute values that can be displayed as output view data.
Table 1. lsemailserver output
Attribute Description
id Indicates the ID of the email server.
name Indicates the name of the email server.
IP_address Indicates the IP address or domain name of the email server.
port Indicates the port of the email server.
status Indicates the state of the email server as reported by the last periodic health check or email send attempt. The possible values are:
  • untried (default)
  • failed
  • failed_temporary
  • active
username Indicates the username for authenticating to the email server.
password_set Indicates whether a password is used for authenticating to the email server.
secure Indicates whether to establish a TLS connection to the email server. The following options are available:
  • try - if the email server does not support TLS connection, then continue and send the email insecurely.
  • yes - if the email server does not support TLS, stop the connection. Emails fail to send.
  • no - do not attempt to establish a TLS connection to the email server. Emails are sent insecurely.