Reference Guide
testemail
Description Sends a test e-mail to a specified destination. Prior to executing the test e-
mail command, make sure that the SMTP server is configured and the
specified index in the RACADM cfgEmailAlert group is enabled and
configured properly.
Synopsis
racadm testemail -i <index>
Input -i — Specifies the index of the e-mail alert to test.
Output
Success: Test e-mail sent successfully
Failure: Unable to send test e-mail
Example Commands for the cfgEmailAlert group:
• Enable the alert —
racadm config -g cfgEmailAlert -o cfgEmailAlertEnable -
i 1
• Set the destination e-mail address —
racadm config -g cfgEmailAlert -o cfgEmailAlertAddress -
i 1 user1@mycompany.com
• Set the custom message that is sent to the destination e-mail address —
racadm config -g cfgEmailAlert -o
cfgEmailAlertCustomMsg -i 1 "This is a test!"
• Make sure that the SMTP IP address is configured properly —
racadm config -g cfgRemoteHosts -o
cfgRhostsSmtpServerIpAddr 192.168.0.152
• View the current e-mail alert settings —
racadm getconfig -g cfgEmailAlert -i <index>
where <index> is a number from 1 to 4.
testfeature
The following tables describe the testfeature subcommand options.
Option Description
-f <feature> Specifies the feature name. testfeature supports
the following features:
• ad — Tests Active Directory configuration using
simple authentication (user name and
password).
• adkrb — Tests Active Directory configuration
using the Kerberos authentication.
111