Implementation Guide › Installing the Enterprise Management Server › How to Install the Enterprise Management Server Components › Advanced Configuration › Setting Up Email Notifications for Events › How To Set Up Email Notifications for Events › Configure JBoss Email Settings
Configure JBoss Email Settings
To send email notifications, you configure the mail-service.xml and email.properties files in your JBoss installation, and modify existing CA ControlMinder email templates accordingly.
Follow these steps:
- Connect to the Enterprise Management machine and stop JBoss if it is running. Do one of the following:
- If JBoss is not installed as a service, interrupt the JBoss application server window (Ctrl+C).
- If JBoss is installed as a service, stop the JBoss service from the Services panel.
- Open the mail-service.xml file for editing. By default, the file is located in a subdirectory of your JBoss installation directory:
JBOSS_HOME/server/default/deploy/mail-service.xml
- Locate the "mail.smtp.host" entry in mail-service.xml. Change the SMTP host default value to the full DNS domain name of your outgoing email server (the SMTP server).
<property name="mail.smtp.host" value="mail.ca.com" />
Note: The hosts file on the Enterprise Management Server must be able to resolve the full DNS domain name that you specify for this property to the IP address of the SMTP server.
- Specify the email address of the notification sender.
<property name="mail.from" value="sendername@ca.com" />
- (Optional) Enable SMTP authentication and TLS security by providing the SMTP user name and password, and by adding SMTP configuration properties.
<attribute name="User">MySMTPUser</attribute>
<attribute name="Password">MySMTPPassword</attribute>
<attribute name="Configuration">
<configuration>
<property name="mail.smtp.auth" value="true"/>
<property name="mail.smtp.starttls.enable" value="true"/>
</configuration>
</attribute>
Note: If you are using an SMTP service that does not require authentication, you can skip this step.
Do the following for each event for which you want to configure email notifications.
Follow these steps:
- Open the email template that corresponds to the event.
Examples:
- To configure email notifications that informs recipients that a privileged account password request was approved, open the CreatePrivilegedAccountExceptionEvent.tmpl file in the following directory:
JBoss_HOME/server/default/deploy/IdentityMinder.ear/custom/emailTemplates/default/approved
- To configure an email notification that informs recipients about a pending endpoint status, open the EndpointStatusEvent.tmpl file in the following directory:
JBoss_HOME/server/default/deploy/IdentityMinder.ear/custom/emailtemplates/default/pending
- Modify the template host name and port from 'http://localhost:8080/iam/ac" to the Enterprise Management Server host name and port, for example, "https://computer.com:18443/iam/ac".
- Save and close the file.
Configure the email.properties file.
Follow these steps:
- Browse to the following directory and open the email.properties file.
JBoss_HOME/server/default/deploy/IdentityMinder.ear/config/com/netegrity/config/
- Specify the same sender email address as in the mail-service.xml file, using the following format.
admin.email.address=sendername@ca.com
- Save and close the email.properties file.
- Restart JBoss.
Copyright © 2013 CA Technologies.
All rights reserved.
|
|