8.2  Configuring SMTP Mail Notification

Automatic notification provides the capability to send problem reports to recipients through the SMTP protocol.

Note


If you want to use SMTP (e-mail) automatic notification, your machine must either have connectivity to another SMTP server on the TCP/IP network, or it must have its own SMTP server. For further information on configuring your machine as a SMTP server, refer to your operating system documentation.


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:

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.com

The 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:

Note for UNIX


If your environment does not allow for SMTP forwarding using the normal protocol, you can add the following line to the NotifyCA.txt file:
CMD=mailx -s '%s' %t
The mailx command can be replaced with any other command for sending mail. The %s is substituted for the subject line of the problem report. The %t is substituted with a space-separated list of the mail addresses specified on the TO= lines of the NotifyCA.txt file.


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.