Getting email reminders before your license expires
The UNICOM License Server can send email messages when your license is close to expiring, or has expired. It sends the messages when it starts, and then every 24 hours.
The messages are submitted by SMTP. If you have configured UNICOM Intelligence to send emails, you can usually use the same server. You might want to set up a relay: see the
UNICOM Systems, Inc. Knowledge Base article, K34-1224.
To configure email alerts
1 Backup the ult_licesrv.ini file. This file is in the working directory for the License Server; on Windows, this is usually C:\Program Files\UNICOM Global\License Server.
2 Edit the ult_licesrv.ini file, and then add a section like this:
[EmailAlerts]
SMTPHostname=<name>
Sender=<sender_address>
Recipients=<recipient_list>
SMTPPort=<port>
WarningThresholdDays=<number>
SendTestEmail=[0|1]
SMTPAuthUsername=<user_authorized_to_send_email>
SMTPAuthPassword=<password_for_SMTPAuthUsername>
SMTPAuthDomain=<domain_for_SMTPAuthUsername>
Mandatory parameters
SMTPHostname=<name>
The name of the computer that the mail server is on.
Sender=<sender_address>
The email address from which to send the messages.
Recipients=<recipient_list>
The email addresses to which to send the messages. To specify two or more one email addresses, separate them by using a comma.
Optional parameters
SMTPPort=<port>
The port number that the mail server uses. The default value is 25.
WarningThresholdDays=<number>
The number of days before the license expiry when you want to start sending the messages. The default value is 14.
SendTestEmail=[0|1]
1 sends a test message (see
Testing the email reminders). The default value is 0.
SMTPAuthUsername=<user_authorized_to_send_email>
Specify the user to be used when authenticating with the SMTP server.
If you specify this parameter, the License Server enables TLS encryption of the SMTP traffic (by using the ‘STARTTLS’ mechanism), which most servers support over either of the standard SMTP ports (25 and 587).
If you specify this parameter, you must also specify the SMTPAuthPassword parameter.
SMTPAuthPassword=<password_for_SMTPAuthUsername>
Specify the password associated with the SMTPAuthUsername.
The License Server encrypts the password the first time that it reads the .ini file, and then updates the file with the encrypted password. The encryption mechanism is simple, not cryptographically secure, so file permissions are required on the .ini file for security.
SMTPAuthDomain=<domain_for_SMTPAuthUsername>
Domain for the SMTPAuthUsername.
Testing the email reminders
1 To test the configuration, set SendTestEmail to 1, and then restart the license server. The license server sends a test message to the addresses that are in the Recipients list.
2 After you have received the test message, set SendTestEmail to 0, and then restart the license server again.