8.2 Configuring SMTP Mail Notification
Automatic notification provides the capability to send problem reports to recipients through the SMTP protocol.
To set up SMTP (E-mail) notification of problem reports, you must edit the NotifyCA.txt file. You may have already entered the appropriate information during installation. If so, you will find the information stored in this file.
Use any text editor to open the file and specify what server to use for sending E-mail notification and the users to whom messages should be sent. The NotifyCA.txt file is in the following locations, depending on your operating system:
- Tru64 UNIX – /usr/opt/hp/svctools/specific/desta/config
- HP-UX – /opt/hp/svctools/specific/desta/config
- Linux – /usr/opt/hp/svctools/specific/desta/config
- OpenVMS – svctools_home:[specific.desta.config]
- Windows – install_directory\specific\desta\config
- Where install_directory indicates the directory where SEA was installed
The basic format of the text file is as follows:
SERVER=servername FROM=username1@server.xxx.com TO=username1@mailaddress1.com; username2@mailaddress2.com CC=username3@mailaddress3.comThe servername must be either a machine currently running an SMTP server process, or localhost if the machine running SEA is also an SMTP server. The users you identify in the TO and CC fields of the NotifyCA.txt file are automatically sent problem reports. When modifying the file, keep the following in mind:
- The domain name (the part of the address following the @ symbol) used in the FROM field must be valid. Some SMTP servers will not deliver the notification if the domain is invalid.
- Extraneous spaces are ignored and the semicolon can be used as a recipient separator in the TO and CC fields.
- The CC field is optional.
- For changes in the NotifyCA.txt file to take effect, you must stop the Director, and then restart it.
Disabling and Enabling SMTP Notification
The SMTP Notification service is enabled by default, but will not perform any notification until the configuration procedures described in this section are performed (unless the necessary information was provided during installation). To disable any notification of problem reports, use the web interface to deselect the "autoStart" checkbox in the SMTP Notification service's configuration attributes. The next time the Director is restarted, the Notification service will not be started, and no mail will be sent for problem reports. See Chapter 7 for more information regarding configuration.
To re-enable the service, select the "autoStart" checkbox and restart the Director.