<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="About the Sentinel RMS Utilities" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-US" xml:lang="en-US" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Configuring Alerts Using Email</title>
        <link href="SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="Resources/TableStyles/BlackTable.css" rel="stylesheet" />
        <link href="Resources/Stylesheets/SFNT_Flare.css" rel="stylesheet" />
        <script src="SkinSupport/MadCapAll.js">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop" style="display: none;"><a href="../Default_CSH.htm#Configuring Alerts Using Email.htm" style="font-weight: bold;">Open the Table of Contents</a>
        </p>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="Overview_Administrator_Utilities_.htm">About the Sentinel RMS Utilities</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Configuring Alerts Using E-mail</span>
        </div>
        <h1><a name="kanchor79"></a>Configuring Alerts Using E-mail</h1>
        <p>Email alerts are available on both Windows and UNIX computers, but are 
 configured differently for each.</p>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1013888883_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />Configuring Email Alerts for Windows (lsmail)</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1013888883_0" style="display: none;">
                <p>On Windows computers, the License Manager calls the<span style="font-weight: bold;"></span>lsmail utility to send email alerts using SMTP. Here is how to 
 use lsmail:</p>
                <ol>
                    <li class="Numbered_Steps" value="1">Set up the alert 
 information section of the License Manager configuration file and use the 
 EMAIL statement to enable email alerts. <br />	The file<span style="font-style: italic;"> lsmail.exe</span> &#160;should 
 be in the directory in which the License Manager resides.</li>
                    <li class="Numbered_Steps" value="2">Run <span style="font-style: italic;">lsmail.exe</span>. 
 The first time it is run, it will ask for the SMTP server address (the 
 mail server). The default port number used is 25 and the sender name is 
 Sentinel RMS License Manager.</li>
                </ol>
                <p class="SFNT_Note">An anti-virus 
 or such a program may block the SMTP port and then alert generation via 
 e-mail will fail. Hence, make sure that SMTP is unblocked on the License Manager host. </p>
                <ol start="3" style="list-style: decimal;list-style-type: decimal;">
                    <li class="Numbered_Steps" value="3">lsmail will automatically 
 be called by the License Manager to send email when the alert action specified 
 in the License Manager configuration file occurs.</li>
                </ol>
                <p>If you want to run lsmail manually, its options are:</p>
                <table style="left: 0px;top: 328px;border-spacing: 0px;margin-left: 0;margin-right: auto;caption-side: top;width: 550;mc-table-style: url('Resources/TableStyles/BlackTable.css');" cellspacing="0" class="TableStyle-BlackTable">
                    <col style="width: 24.231%;" class="Column-Column1" />
                    <col style="width: 75.769%;" class="Column-Column1" />
                    <thead>
                        <tr class="Head-Header1">
                            <th class="HeadE-Column1-Header1">Option</th>
                            <th class="HeadD-Column1-Header1">Description</th>
                        </tr>
                    </thead>
                    <tr valign="top" class="Body-Body1">
                        <td style="width: 24.231%;padding-right: 10px;padding-left: 10px;border-top-style: Solid;border-right-style: Solid;border-bottom-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;border-right-color: #808080;border-right-width: 1px;border-left-color: #808080;border-left-width: 1px;border-left-style: Solid;border-top-color: #808080;border-top-width: 1px;" width="24.231%" class="BodyE-Column1-Body1">
                            <p><span style="font-weight: bold;">-t</span> recipient-name</p>
                        </td>
                        <td style="width: 75.769%;padding-right: 10px;padding-left: 10px;border-top-style: Solid;border-right-style: Solid;border-bottom-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;border-top-color: #808080;border-top-width: 1px;border-right-color: #808080;border-right-width: 1px;" width="75.769%" class="BodyD-Column1-Body1">
                            <p>Email address of the person who will receive the alert message.</p>
                        </td>
                    </tr>
                    <tr valign="top" class="Body-Body1">
                        <td style="width: 24.231%;padding-right: 10px;padding-left: 10px;border-right-style: Solid;border-bottom-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;border-right-color: #808080;border-right-width: 1px;border-left-color: #808080;border-left-width: 1px;border-left-style: Solid;" width="24.231%" class="BodyE-Column1-Body1">
                            <p style="font-weight: bold;">-m 
 <span style="font-weight: normal;">message-text</span></p>
                        </td>
                        <td style="width: 75.769%;padding-right: 10px;padding-left: 10px;border-right-style: Solid;border-bottom-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;border-right-color: #808080;border-right-width: 1px;" width="75.769%" class="BodyD-Column1-Body1">
                            <p>Text of the alert message.</p>
                        </td>
                    </tr>
                    <tr valign="top" class="Body-Body1">
                        <td style="width: 24.231%;padding-right: 10px;padding-left: 10px;border-right-style: Solid;border-bottom-style: Solid;border-right-color: #808080;border-right-width: 1px;border-left-color: #808080;border-left-width: 1px;border-left-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;" width="24.231%" class="BodyE-Column1-Body1">
                            <p><span style="font-weight: bold;">-s</span> subject</p>
                        </td>
                        <td style="width: 75.769%;padding-right: 10px;padding-left: 10px;border-right-style: Solid;border-bottom-style: Solid;border-bottom-color: #808080;border-bottom-width: 1px;border-right-color: #808080;border-right-width: 1px;" width="75.769%" class="BodyD-Column1-Body1">
                            <p>Subject (if your email program accepts a subject argument).</p>
                        </td>
                    </tr>
                </table>
                <p>To test lsmail, at the DOS prompt type (specifying your email address) 
 say:</p>
                <p class="code">lsmail -t "user@company.com" 
 -m "This 
 is a test" -s "Test"</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_1013888883_1" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />Configuring Email Alerts for UNIX</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_1013888883_1" style="display: none;">
                <p>The mail sending program to use can be customized via the MAILPGM 
 environment variable. If MAILPGM 
 is not set, the first program found from the following locations will 
 be used. Search the path in the License Manager’s start-up environment 
 (PATH environment variable). Any command/shell aliases will be ignored.</p>
                <ul>
                    <li class="Bullets_1" value="1">“/usr/bin/mailx” 
 </li>
                    <li class="Bullets_1" value="2">“/usr/ucb/mail” 
 </li>
                    <li class="Bullets_1" value="3">“/usr/bin/mail” 
 </li>
                    <li class="Bullets_1" value="4">“/bin/mail” </li>
                </ul>
                <p>If no program is found via search or MAILPGM, 
 the email mechanism will be off. The mail program will be invoked in a 
 manner equivalent to:</p>
                <p class="code" style="margin-left: 40px;">MAILPGM email-recipient-list text-of-alert-message</p>
                <p>No subject is provided.</p>
                <p>If your mail program accepts a subject via the -s option, you could 
 use:</p>
                <p class="code" style="margin-left: 40px;">MAILPGM= /usr/ucb/mail -s "Alert message" 
 </p>
                <p>to receive a subject for outgoing alert email.</p>
                <p>The configuration file is read once per feature and version on the first 
 addition of that feature (not necessarily at the License Manager start 
 time), and the statements for that feature and version are cached. If 
 you change the entries applicable to a feature, you should restart the 
 License Manager. </p>
            </div>
        </div>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>