Specifications

Setting User Alerts
114
Chapter 6 - Setting User Options
Configuring E-mail Alerts for Windows
On Windows computers, the license server calls the lsmail utility to send e-mail
alerts using SMTP. Here is how to use lsmail:
1. Set up the alert information section of the license server configuration
file and use the EMAIL statement to enable e-mail alerts.
The file lsmail.exe should be in the directory in which the license server
resides.
2. Run lsmail. The first time it is run, it will ask for configuration informa-
tion: the SMTP server address (the mail server), the port number to be
used (default is 25), and the sender name (default is SentinelLM).
3. lsmail will automatically be called by the license server to send e-mail
when the alert action specified in the license server configuration file
occurs.
If you want to run lsmail manually, its options are:
To test lsmail, at the DOS prompt type (specifying your e-mail address):
lsmail -t "user@company.com" -m "This is a test" -s "Test"
Configuring E-mail Alerts for UNIX
The mail sending program to use can be customized via the MAILPGM environ-
ment variable. If MAILPGM is not set, the first program found from the follow-
ing locations will be used. Search the path in the license servers start-up
environment (PATH environment variable). Any command/shell aliases will be
ignored.
•“/usr/bin/mailx
-t recipient-name E-mail address of the person who will receive the alert message.
-m message-text Text of the alert message.
-s subject Subject (if your e-mail program accepts a subject argument).