HP StorageWorks Storage Mirroring for Linux Scripting Guide (T2558-96319, June 2009)

14 - 7
Email MailServer
Email Remove
Command EMAIL MAILSERVER
Description Specifies the name of the SMTP mail server for e-mail notification
Syntax
EMAIL MAILSERVER <server_name | ip_address>
[
username][password]
Options
server_name—Name of the SMTP mail server
ip_address—IP address of the SMTP mail server
username—User ID required for SMTP server authentication
password—Password associated with the specified user name
Examples
email mailserver xchng administrator *******
Notes
Your SMTP server must support the LOGIN authentication to supply a
username and password. If your server supports a different
authentication method or does not support authentication, you may need
to add the Storage Mirroring server as an authorized host for relaying
e-mail messages. This option is not necessary if you are sending
exclusively to e-mail addresses that the SMTP server is responsible for.
You must have an active source specified for any e-mail command to
work properly.
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.
Command EMAIL REMOVE
Description Removes an e-mail address from the e-mail notification distribution list
Syntax
EMAIL REMOVE <email_address>
Options email_address—An e-mail address, listed in the current distribution list,
enclosed in quotation marks
Examples
email remove "administrator@domain.com"
Notes You must have an active source specified for any e-mail command to work
properly.