Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerVault ME5 Series Storage System CLI Reference Guide

PDF

set email-parameters

Description Sets SMTP notification parameters for events and managed logs.
Minimum role standard
Syntax

set email-parameters

[alert-notification-level all|none]

domain <domain>

email-list <email-addresses>

[include-logs enabled|disabled|on|off]

[otification-level crit|error|warn|resolved|info|none]

[port <port-number>]

security-protocol tls|ssl|none

[sender <sender>]

[sender-password <password>]

server <address>

Parameters alert-notification-level all|none

Optional. Sets whether the system should send notifications of alerts.

  • all: Sends notifications for all alerts. This is the default.
  • none: Disables email notification of alerts.

If no notification level is specified, the previous notification level will remain.

domain <domain>

The domain name that is joined with an @ symbol to the sender name to form the “from” address for remote notification. The domain name must follow these rules:

  • Can have a maximum of 253 characters.
  • The value cannot include a space or: \ " , : ; < > ( )
  • Must be in the form: <name>.<TLD> where:
    • <name> can include multiple subdomains separated by periods ( . ).
    • <TLD> is a valid top-level domain (TLD).
    • Both are required.
    • Neither can begin or end with a hyphen (-) or a period (.).

For example: MyDomain.com. If the domain name is not valid, some email servers will not process the message.

NOTE:Alternatively, you can specify the domain by using a valid IP address enclosed in square brackets, [ ]. If the brackets are omitted, email notifications fail to send.

MyDomain.com

If the domain name is not valid, some email servers will not process the mail.

email-list <email-addresses>

Enter from one to four comma-separated email addresses for recipients of event notifications. Each email address must use the format <user-name>@<domain-name> and can have a maximum of 320 bytes. The first three email addresses are used as destinations for events.

If the managed logs feature is enabled, you can set the fourth email-address to the address of the log collection system. For example: IT-team@MyDomain.com,,,LogCollector@MyDomain.com

[include-logs enabled|disabled|on|off]

Optional. When the managed logs feature is enabled, this option activates the “push” mode, automatically attaching system log files to managed-logs email notifications that are sent to the log collection system. This option is disabled by default.

notification-level crit|error|warn|resolved|info|none

The minimum severity for which the system should send notifications:

  • crit: Sends notifications for Critical events only.
  • error: Sends notifications for Error and Critical events.
  • warn: Sends notifications for Warning, Error, and Critical events.
  • resolved: Sends notifications for Resolved, Warning, Error, and Critical events.
  • info: Sends notifications for all events.
  • none: Disables email notification. This is the default. If this option is specified, no other parameters are required and their current values are not changed. Email notification of alerts will still occur if the alert-notification-level parameter is set to all.

If no notification level is specified, the previous notification level will remain.

[port <port-number>]

Optional. The port number to use for communication with the SMTP server. Configure this parameter only if you want to override use of standard SMTP network port 25. Valid port numbers are 0-65535.

security-protocol tls|ssl|none

Specifies whether to use a security protocol when communicating with the SMTP server.

  • tls: Enables Transport Layer Security (TLS) authentication. The standard ports for TLS are 25 or 587.
  • ssl: Enables Secure Sockets Layer (SSL) authentication. The standard port for SSL is 465.
  • none: Do not use a security protocol. The standard port is 25. This setting is the system default.
[sender <sender>]

Optional, unless security-protocol is set to tls or ssl.

The sender name that is joined with an @ symbol to the domain name to form the “from” address for remote notification. This name provides a way to identify the system that is sending the notification. The sender name can have a maximum of 64 bytes. The value cannot include a space or: \ " , : ; < > ( ) [ ] @. For example: Storage-1.

When a secure protocol is used, this sender name must correspond to the password specified by the sender-password parameter, and be a valid user on the configured SMTP server.

If this parameter is omitted, the system name is used as the sender name.

[sender-password <password>]

Optional. This parameter is required for a secure SMTP server (using TLS or SSL) and must correspond to the user name specified by the sender parameter. The sender password can have a maximum of 32 bytes. The value can only include alphanumeric characters and these symbols: ^ _ + : , . @

This parameter is not applicable if the security-protocol parameter is set to none. If the security-protocol parameter is set to tls or ssl and this parameter is omitted, the command prompts you to enter and re-enter a value, which is displayed obscured for security reasons.

server <address>

The network address of the SMTP mail server to use for the email messages. The value can be an IPv4 address, IPv6 address, or FQDN. If DNS is configured, this parameter may specify a server name. The value can have a maximum of 255 bytes.

Examples For a server that requires TLS authentication through standard port 587 for SMTP notifications, set the system to do the following:
  • Send an email from RAIDsystem@mydomain.com to both sysadmin@mydomain.com and JSmith@domain2.com when a non-Informational event occurs.
  • Send an email with attached logs to logcollector@mydomain.com when logs need to be transferred.
# set email-parameters server 10.1.9.10 sender RAIDsystem security-protocol tls port 587 sender-password Abcd_1234 domain mydomain.com notification-level warn include-logs enabled email-list sysadmin@mydomain.com,JSmith@domain2.com,,logcollector@mydomain.com
See also

set dns-parameters

show dns-parameters

show email-parameters

test (with the email parameter)


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\