Command Line Interface
5951553-KDU 137 365 Uen D 2006-06-16
7.5.40 logging sendmail host
This command specifies SMTP servers that will be sent alert messages. Use the
no form to remove an SMTP server.
Syntax
[no] logging sendmail host <ip_address>
ip_address - IP address of an SMTP server that will be sent alert
messages for event handling.
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Up to three SMTP servers can be specified for event handing. However,
a separate command must be entered to specify each server.
• To send email alerts, the ECN330-switch first opens a connection,
sends all the email alerts waiting in the queue one by one, and finally
closes the connection.
• To open a connection, the ECN330-switch first selects the server that
successfully sent mail during the last connection, or the first server
configured by this command. If it fails to send mail, the ECN330-switch
selects the next server in the list and tries to send mail again. If it still
fails, the system will repeat the process at a periodic interval. (A trap will
be triggered if the ECN330-switch cannot successfully open a
connection.)
Example
Console(config)#logging sendmail host 192.168.1.19
Console(config)#